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; |
}; |