| Index: third_party/WebKit/Source/core/paint/PaintLayer.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| index f7115c5e284b64361c6902b724aac9698ea0e416..e09b3958924f202783351923642e7b3aeac40744 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| @@ -402,11 +402,11 @@ public:
|
| // Note that this transform does not have the perspective-origin baked in.
|
| TransformationMatrix perspectiveTransform() const;
|
| FloatPoint perspectiveOrigin() const;
|
| - bool preserves3D() const { return layoutObject()->style()->transformStyle3D() == TransformStyle3DPreserve3D; }
|
| + bool preserves3D() const { return layoutObject()->style()->preserves3D(); }
|
| bool has3DTransform() const { return m_rareData && m_rareData->transform && !m_rareData->transform->isAffine(); }
|
|
|
| // FIXME: reflections should force transform-style to be flat in the style: https://bugs.webkit.org/show_bug.cgi?id=106959
|
| - bool shouldPreserve3D() const { return !layoutObject()->hasReflection() && layoutObject()->style()->transformStyle3D() == TransformStyle3DPreserve3D; }
|
| + bool shouldPreserve3D() const { return !layoutObject()->hasReflection() && layoutObject()->style()->preserves3D(); }
|
|
|
| void filterNeedsPaintInvalidation();
|
|
|
|
|