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

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

Issue 1904683002: Move the m_didTransformToRootUpdate flag to LayoutSVGContainer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
index 49caa186514da2ef6cf4717107a74da363b2281d..e5c9709e18af89e9cdb1fbb61e0feb13304909ec 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
@@ -44,7 +44,7 @@ public:
void paint(const PaintInfo&, const LayoutPoint&) const override;
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
void setNeedsBoundariesUpdate() final { m_needsBoundariesUpdate = true; }
- virtual bool didTransformToRootUpdate() const { return false; }
+ bool didTransformToRootUpdate() const { return m_didTransformToRootUpdate; }
bool isObjectBoundingBoxValid() const { return m_objectBoundingBoxValid; }
bool selfWillPaint() const;
@@ -91,7 +91,8 @@ private:
FloatRect m_objectBoundingBox;
FloatRect m_strokeBoundingBox;
bool m_objectBoundingBoxValid;
- bool m_needsBoundariesUpdate;
+ bool m_needsBoundariesUpdate : 1;
+ bool m_didTransformToRootUpdate : 1;
mutable bool m_hasNonIsolatedBlendingDescendants : 1;
mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698