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

Unified Diff: Source/core/rendering/RenderQuote.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/RenderQuote.h
diff --git a/Source/core/rendering/RenderQuote.h b/Source/core/rendering/RenderQuote.h
index a7e4b08a45c99df29ff72b2161d1a5a7974bb020..3c0c32caa42084e8f7f0887fa81a2d1e8ebff534 100644
--- a/Source/core/rendering/RenderQuote.h
+++ b/Source/core/rendering/RenderQuote.h
@@ -43,7 +43,7 @@ private:
virtual void willBeDestroyed() OVERRIDE;
virtual const char* renderName() const OVERRIDE { return "RenderQuote"; };
- virtual bool isQuote() const OVERRIDE { return true; };
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectQuote || RenderInline::isOfType(type); }
virtual void styleDidChange(StyleDifference, const RenderStyle*) OVERRIDE;
virtual void willBeRemovedFromTree() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698