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

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

Issue 1813383002: Move all fast-path paint invalidation mapping into PaintInvalidationState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reorganize conditions in PaintInvalidationState constructor Created 4 years, 9 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/LayoutSVGInlineText.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.h
index b8ea64ae55c6162243ef7e9951f9db9fe07e066a..7e2fe28db1c25cb6e934b76ea4073751ab9169cd 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.h
@@ -60,7 +60,11 @@ private:
IntRect linesBoundingBox() const override;
InlineTextBox* createTextBox(int start, unsigned short length) override;
- LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState*) const final;
+ LayoutRect absoluteClippedOverflowRect() const final;
+ FloatRect paintInvalidationRectInLocalSVGCoordinates() const final;
+
+ // This method should never be called. Should use paintInvalidationRectInLocalSVGCoordinates().
+ using LayoutObject::localOverflowRectForPaintInvalidation;
pdr. 2016/03/23 22:50:07 What does this "using" statement do?
Xianzhu 2016/03/23 23:52:34 It makes the method private not needing to redefin
float m_scalingFactor;
Font m_scaledFont;

Powered by Google App Engine
This is Rietveld 408576698