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

Unified Diff: Source/core/rendering/svg/RenderSVGViewportContainer.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/RenderSVGTransformableContainer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGViewportContainer.h
diff --git a/Source/core/rendering/svg/RenderSVGViewportContainer.h b/Source/core/rendering/svg/RenderSVGViewportContainer.h
index 668a03e6b46af01db81bc6dfef357036bee17383..aa586d72290c14a22003f103667d89448516e459 100644
--- a/Source/core/rendering/svg/RenderSVGViewportContainer.h
+++ b/Source/core/rendering/svg/RenderSVGViewportContainer.h
@@ -43,7 +43,7 @@ public:
virtual void paint(PaintInfo&, const LayoutPoint&) override;
private:
- virtual bool isSVGViewportContainer() const override { return true; }
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSVGViewportContainer || RenderSVGContainer::isOfType(type); }
virtual const char* renderName() const override { return "RenderSVGViewportContainer"; }
AffineTransform viewportTransform() const;
« no previous file with comments | « Source/core/rendering/svg/RenderSVGTransformableContainer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698