[webkit-changes] [WebKit/WebKit] 70d899: Adopt more smart pointers in BasicShapeFunctions.cpp

Chris Dumez noreply at github.com
Thu Jan 25 12:11:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 70d8991806620901606a29d94c2c6e5f2e98a435
      https://github.com/WebKit/WebKit/commit/70d8991806620901606a29d94c2c6e5f2e98a435
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M Source/WebCore/css/BasicShapeFunctions.cpp
    M Source/WebCore/css/CSSBasicShapes.h
    M Source/WebCore/css/CSSValue.h
    M Source/WebCore/css/CSSValueList.h
    M Source/WebCore/css/CSSValuePair.h

  Log Message:
  -----------
  Adopt more smart pointers in BasicShapeFunctions.cpp
https://bugs.webkit.org/show_bug.cgi?id=268083

Reviewed by Darin Adler.

* Source/WebCore/css/BasicShapeFunctions.cpp:
(WebCore::convertToLengthSize):
(WebCore::convertToCenterCoordinate):
(WebCore::basicShapeForValue):
* Source/WebCore/css/CSSBasicShapes.h:
(WebCore::CSSInsetShapeValue::protectedTop const):
(WebCore::CSSInsetShapeValue::protectedRight const):
(WebCore::CSSInsetShapeValue::protectedBottom const):
(WebCore::CSSInsetShapeValue::protectedLeft const):
(WebCore::CSSInsetShapeValue::protectedTopLeftRadius const):
(WebCore::CSSInsetShapeValue::protectedTopRightRadius const):
(WebCore::CSSInsetShapeValue::protectedBottomRightRadius const):
(WebCore::CSSInsetShapeValue::protectedBottomLeftRadius const):
(WebCore::CSSCircleValue::protectedRadius const):
(WebCore::CSSCircleValue::protectedCenterX const):
(WebCore::CSSCircleValue::protectedCenterY const):
(WebCore::CSSEllipseValue::protectedRadiusX const):
(WebCore::CSSEllipseValue::protectedRadiusY const):
(WebCore::CSSEllipseValue::protectedCenterX const):
(WebCore::CSSEllipseValue::protectedCenterY const):
(WebCore::CSSRectShapeValue::protectedTop const):
(WebCore::CSSRectShapeValue::protectedRight const):
(WebCore::CSSRectShapeValue::protectedBottom const):
(WebCore::CSSRectShapeValue::protectedLeft const):
(WebCore::CSSRectShapeValue::protectedTopLeftRadius const):
(WebCore::CSSRectShapeValue::protectedTopRightRadius const):
(WebCore::CSSRectShapeValue::protectedBottomRightRadius const):
(WebCore::CSSRectShapeValue::protectedBottomLeftRadius const):
(WebCore::CSSXywhValue::protectedInsetX const):
(WebCore::CSSXywhValue::protectedInsetY const):
(WebCore::CSSXywhValue::protectedWidth const):
(WebCore::CSSXywhValue::protectedHeight const):
(WebCore::CSSXywhValue::protectedTopLeftRadius const):
(WebCore::CSSXywhValue::protectedTopRightRadius const):
(WebCore::CSSXywhValue::protectedBottomRightRadius const):
(WebCore::CSSXywhValue::protectedBottomLeftRadius const):
* Source/WebCore/css/CSSValue.h:
* Source/WebCore/css/CSSValueList.h:
(WebCore::CSSValueContainingVector::protectedItem const):
* Source/WebCore/css/CSSValuePair.h:
(WebCore::CSSValuePair::protectedFirst const):
(WebCore::CSSValuePair::protectedSecond const):
(WebCore::CSSValue::protectedFirst const):
(WebCore::CSSValue::protectedSecond const):

Canonical link: https://commits.webkit.org/273527@main




More information about the webkit-changes mailing list