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

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

Issue 1996543002: Avoid using forced layout to trigger paint invalidation for SVG containers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TE updates Created 4 years, 6 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/LayoutSVGViewportContainer.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h
index 545e396fa11ca2d0717644a4d7ebc134ff3825ce..ac931d698b367f29a48b328a6f84fb84091aa194 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h
@@ -37,7 +37,7 @@ public:
bool isLayoutSizeChanged() const { return m_isLayoutSizeChanged; }
void determineIfLayoutSizeChanged() override;
- void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; }
+ void setNeedsTransformUpdate() override;
void paint(const PaintInfo&, const LayoutPoint&) const override;
@@ -50,7 +50,7 @@ private:
const AffineTransform& localToSVGParentTransform() const override { return m_localToParentTransform; }
void calcViewport() override;
- bool calculateLocalTransform() override;
+ TransformChange calculateLocalTransform() override;
bool pointIsInsideViewportClip(const FloatPoint& pointInParent) override;

Powered by Google App Engine
This is Rietveld 408576698