| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index c2d81dd28aefc97ce467c047e509ac51a754b859..03ded1e065ecfac9e2200402c94a47909a6506ea 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -1305,8 +1305,7 @@ bool LayoutObject::mapToVisualRectInAncestorSpaceInternal(
|
| transformState.setQuad(FloatQuad(FloatRect(rect)));
|
| }
|
|
|
| - bool preserve3D = (parent->style()->preserves3D() && !parent->isText()) ||
|
| - (style()->preserves3D() && !isText());
|
| + bool preserve3D = parent->style()->preserves3D() && !parent->isText();
|
|
|
| TransformState::TransformAccumulation accumulation =
|
| preserve3D ? TransformState::AccumulateTransform
|
|
|