Chromium Code Reviews| 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; |