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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h

Issue 1920833002: Don't force layout of descendants of SVG containers needing self-layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clarify comments. Make some methods private. Created 4 years, 8 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/svg/LayoutSVGRoot.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
index 9437015f952718c679a72568f4f0bdd35ea8842b..105137f5b4cf093af3a11d51f062aef0eb149c02 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
@@ -47,6 +47,7 @@ public:
LayoutObject* lastChild() const { ASSERT(children() == virtualChildren()); return children()->lastChild(); }
bool isLayoutSizeChanged() const { return m_isLayoutSizeChanged; }
+ bool didScreenScaleFactorChange() const { return m_didScreenScaleFactorChange; }
void setNeedsBoundariesUpdate() override { m_needsBoundariesOrTransformUpdate = true; }
void setNeedsTransformUpdate() override { m_needsBoundariesOrTransformUpdate = true; }
@@ -124,6 +125,7 @@ private:
mutable AffineTransform m_localToParentTransform;
AffineTransform m_localToBorderBoxTransform;
bool m_isLayoutSizeChanged : 1;
+ bool m_didScreenScaleFactorChange : 1;
bool m_needsBoundariesOrTransformUpdate : 1;
bool m_hasBoxDecorationBackground : 1;
mutable bool m_hasNonIsolatedBlendingDescendants : 1;

Powered by Google App Engine
This is Rietveld 408576698