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

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: Rebase better. Created 6 years, 2 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
« no previous file with comments | « Source/core/rendering/svg/RenderSVGGradientStop.h ('k') | Source/core/rendering/svg/RenderSVGImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGHiddenContainer.h
diff --git a/Source/core/rendering/svg/RenderSVGHiddenContainer.h b/Source/core/rendering/svg/RenderSVGHiddenContainer.h
index 8eadefa70d98ff938193624ea148ff83a1e21275..1b627f51e67d8021c9ce8478b04a3837d16b1d84 100644
--- a/Source/core/rendering/svg/RenderSVGHiddenContainer.h
+++ b/Source/core/rendering/svg/RenderSVGHiddenContainer.h
@@ -37,11 +37,10 @@ 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(); }
virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override final;
« no previous file with comments | « Source/core/rendering/svg/RenderSVGGradientStop.h ('k') | Source/core/rendering/svg/RenderSVGImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698