| 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 7511da505dcc83ac072597a5e7eedddee5584230..4e3713d819ecf169cae663d6b3fab30ff4354e73 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| @@ -403,11 +403,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();
|
|
|
|
|