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

Unified Diff: Source/core/svg/SVGAltGlyphDefElement.h

Issue 130623002: Clean up static_cast<SVGFooElement*> by using toSVGFoo() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 11 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/css/CSSCursorImageValue.cpp ('k') | Source/core/svg/SVGAltGlyphDefElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAltGlyphDefElement.h
diff --git a/Source/core/svg/SVGAltGlyphDefElement.h b/Source/core/svg/SVGAltGlyphDefElement.h
index f7dc4115e9649d313b9b10a8b642fc0f088e93ac..a23e7254b5d2702ec14ef49a9b2ba7ec1e5c2202 100644
--- a/Source/core/svg/SVGAltGlyphDefElement.h
+++ b/Source/core/svg/SVGAltGlyphDefElement.h
@@ -21,6 +21,7 @@
#define SVGAltGlyphDefElement_h
#if ENABLE(SVG_FONTS)
+#include "SVGNames.h"
#include "core/svg/SVGElement.h"
#include "wtf/Vector.h"
@@ -38,6 +39,8 @@ private:
virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
};
+DEFINE_NODE_TYPE_CASTS(SVGAltGlyphDefElement, hasTagName(SVGNames::altGlyphDefTag));
+
}
#endif
« no previous file with comments | « Source/core/css/CSSCursorImageValue.cpp ('k') | Source/core/svg/SVGAltGlyphDefElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698