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

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

Issue 1698143002: Combine 4 bools into GeometryInfoFlags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bitshift. Created 4 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutGeometryMapStep.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutView.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
index 23796651e837470fd610ba7ede6a48a0f914fc9b..bbfcf0dd2f7f72df06cf0b364b4a488ec092fca9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
@@ -381,9 +381,9 @@ const LayoutObject* LayoutView::pushMappingToContainer(const LayoutBoxModelObjec
if ((!ancestorToStopAt || container) && shouldUseTransformFromContainer(container)) {
TransformationMatrix t;
getTransformFromContainer(container, LayoutSize(), t);
- geometryMap.push(this, t, false, false, false, true, offsetForFixedPosition);
+ geometryMap.push(this, t, HasTransform, offsetForFixedPosition);
} else {
- geometryMap.push(this, offset, false, false, false, false, offsetForFixedPosition);
+ geometryMap.push(this, offset, 0, offsetForFixedPosition);
}
return container;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutGeometryMapStep.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698