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

Unified Diff: Source/core/rendering/svg/RenderSVGHiddenContainer.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/RenderSVGHiddenContainer.h
diff --git a/Source/core/rendering/svg/RenderSVGHiddenContainer.h b/Source/core/rendering/svg/RenderSVGHiddenContainer.h
index 7ce8e82c358842c8f364eb625161f3c3bb85dc56..bcde982fc6460c76b5ed416ea181a7aeedbf0d05 100644
--- a/Source/core/rendering/svg/RenderSVGHiddenContainer.h
+++ b/Source/core/rendering/svg/RenderSVGHiddenContainer.h
@@ -37,9 +37,9 @@ public:
protected:
virtual void layout() OVERRIDE;
-private:
- virtual bool isSVGHiddenContainer() const OVERRIDE FINAL { return true; }
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectSVGHiddenContainer || RenderSVGContainer::isOfType(type); }
+private:
virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL;
virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject*, const PaintInvalidationState* = 0) const OVERRIDE FINAL { return LayoutRect(); }

Powered by Google App Engine
This is Rietveld 408576698