[webkit-changes] [WebKit/WebKit] 870083: Cherry-pick 266727 at main (9790360a4547). https://bu...

Alex Christensen noreply at github.com
Thu Aug 10 11:45:39 PDT 2023


  Branch: refs/heads/webkitglib/2.42
  Home:   https://github.com/WebKit/WebKit
  Commit: 87008323e6d5ed599558031b67455c1a04d83f1f
      https://github.com/WebKit/WebKit/commit/87008323e6d5ed599558031b67455c1a04d83f1f
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-08-10 (Thu, 10 Aug 2023)

  Changed paths:
    M Source/WebCore/animation/KeyframeEffect.cpp
    M Source/WebCore/platform/graphics/transforms/IdentityTransformOperation.h
    M Source/WebCore/platform/graphics/transforms/Matrix3DTransformOperation.h
    M Source/WebCore/platform/graphics/transforms/MatrixTransformOperation.h
    M Source/WebCore/platform/graphics/transforms/PerspectiveTransformOperation.h
    M Source/WebCore/platform/graphics/transforms/RotateTransformOperation.cpp
    M Source/WebCore/platform/graphics/transforms/RotateTransformOperation.h
    M Source/WebCore/platform/graphics/transforms/ScaleTransformOperation.cpp
    M Source/WebCore/platform/graphics/transforms/ScaleTransformOperation.h
    M Source/WebCore/platform/graphics/transforms/SkewTransformOperation.cpp
    M Source/WebCore/platform/graphics/transforms/SkewTransformOperation.h
    M Source/WebCore/platform/graphics/transforms/TransformOperation.h
    M Source/WebCore/platform/graphics/transforms/TranslateTransformOperation.cpp
    M Source/WebCore/platform/graphics/transforms/TranslateTransformOperation.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Cherry-pick 266727 at main (9790360a4547). https://bugs.webkit.org/show_bug.cgi?id=255629

    TransformOperation subclasses should verify deserialized type
    https://bugs.webkit.org/show_bug.cgi?id=255629
    rdar://108161092

    Reviewed by David Kilzer.

    The type needs to line up with the same types used by the is, downcast, and dynamicDowncast functions.

    * Source/WebCore/animation/KeyframeEffect.cpp:
    (WebCore::KeyframeEffect::computedNeedsForcedLayout):
    * Source/WebCore/platform/graphics/transforms/IdentityTransformOperation.h:
    * Source/WebCore/platform/graphics/transforms/Matrix3DTransformOperation.h:
    * Source/WebCore/platform/graphics/transforms/MatrixTransformOperation.h:
    * Source/WebCore/platform/graphics/transforms/PerspectiveTransformOperation.h:
    * Source/WebCore/platform/graphics/transforms/RotateTransformOperation.cpp:
    (WebCore::RotateTransformOperation::RotateTransformOperation):
    * Source/WebCore/platform/graphics/transforms/RotateTransformOperation.h:
    * Source/WebCore/platform/graphics/transforms/ScaleTransformOperation.cpp:
    (WebCore::ScaleTransformOperation::ScaleTransformOperation):
    * Source/WebCore/platform/graphics/transforms/ScaleTransformOperation.h:
    * Source/WebCore/platform/graphics/transforms/SkewTransformOperation.cpp:
    (WebCore::SkewTransformOperation::SkewTransformOperation):
    * Source/WebCore/platform/graphics/transforms/SkewTransformOperation.h:
    * Source/WebCore/platform/graphics/transforms/TransformOperation.h:
    (WebCore::TransformOperation::isRotateTransformOperationType):
    (WebCore::TransformOperation::isScaleTransformOperationType):
    (WebCore::TransformOperation::isSkewTransformOperationType):
    (WebCore::TransformOperation::isTranslateTransformOperationType):
    (WebCore::TransformOperation::isRotateTransformOperationType const): Deleted.
    (WebCore::TransformOperation::isScaleTransformOperationType const): Deleted.
    (WebCore::TransformOperation::isSkewTransformOperationType const): Deleted.
    (WebCore::TransformOperation::isTranslateTransformOperationType const): Deleted.
    * Source/WebCore/platform/graphics/transforms/TranslateTransformOperation.cpp:
    (WebCore::TranslateTransformOperation::TranslateTransformOperation):
    * Source/WebCore/platform/graphics/transforms/TranslateTransformOperation.h:
    * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

    Originally-landed-as: 259548.723 at safari-7615-branch (9e8e582627a8). rdar://113595196
    Canonical link: https://commits.webkit.org/266727@main

Canonical link: https://commits.webkit.org/266719.3@webkitglib/2.42




More information about the webkit-changes mailing list