Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1049)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.cpp

Issue 2744743003: Add support for flattening in GeometryMapper. (Closed)
Patch Set: none Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698