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

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

Issue 112633004: Use a bitmask for SVG render object types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Minor cleanups Created 7 years 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/RenderSVGRoot.h ('k') | Source/core/rendering/svg/RenderSVGText.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGShape.h
diff --git a/Source/core/rendering/svg/RenderSVGShape.h b/Source/core/rendering/svg/RenderSVGShape.h
index f800b2db555728096d0f41c7ab6b8a52bd3a685e..8ea8b21d1f53dbced58488589135ee31dc9e2b92 100644
--- a/Source/core/rendering/svg/RenderSVGShape.h
+++ b/Source/core/rendering/svg/RenderSVGShape.h
@@ -89,8 +89,8 @@ private:
virtual const AffineTransform& localToParentTransform() const OVERRIDE FINAL { return m_localTransform; }
virtual AffineTransform localTransform() const OVERRIDE FINAL { return m_localTransform; }
- virtual bool isSVGShape() const OVERRIDE FINAL { return true; }
virtual const char* renderName() const { return "RenderSVGShape"; }
+ virtual SVGType getSVGType() const OVERRIDE { return IsSVGShape; }
virtual void layout() OVERRIDE FINAL;
virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL;
« no previous file with comments | « Source/core/rendering/svg/RenderSVGRoot.h ('k') | Source/core/rendering/svg/RenderSVGText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698