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

Unified Diff: Source/core/rendering/svg/RenderSVGInlineText.h

Issue 613783002: Smaller vtbls in RenderObject (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: RenderObject: Cut down vtbls a bit Created 6 years, 3 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: Source/core/rendering/svg/RenderSVGInlineText.h
diff --git a/Source/core/rendering/svg/RenderSVGInlineText.h b/Source/core/rendering/svg/RenderSVGInlineText.h
index 30a0a2afa2009063e54e7c49aa5f16d91a932ea5..e9491d12695dd59b501f10a57da258c8c4f68c81 100644
--- a/Source/core/rendering/svg/RenderSVGInlineText.h
+++ b/Source/core/rendering/svg/RenderSVGInlineText.h
@@ -51,8 +51,7 @@ private:
virtual FloatRect objectBoundingBox() const OVERRIDE { return floatLinesBoundingBox(); }
- virtual bool isSVGInlineText() const OVERRIDE { return true; }
- virtual bool isSVG() const OVERRIDE { return true; }
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectSVG || type == RenderObjectSVGInlineText || RenderText::isOfType(type); }
virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE;
virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine = 0) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698