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

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

Issue 23991004: Generate toFooElement() functions from tagname data (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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/svg/SVGMissingGlyphElement.h
diff --git a/Source/core/svg/SVGMissingGlyphElement.h b/Source/core/svg/SVGMissingGlyphElement.h
index a1c4a8f53303e692153cd1b46d42f00f95907283..0b78ce63c72fc7bc36c97a0599401bb25b58ce3e 100644
--- a/Source/core/svg/SVGMissingGlyphElement.h
+++ b/Source/core/svg/SVGMissingGlyphElement.h
@@ -21,7 +21,6 @@
#define SVGMissingGlyphElement_h
#if ENABLE(SVG_FONTS)
-#include "SVGNames.h"
#include "core/svg/SVGElement.h"
namespace WebCore {
@@ -36,12 +35,6 @@ private:
virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; }
};
-inline SVGMissingGlyphElement* toSVGMissingGlyphElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::missing_glyphTag));
- return static_cast<SVGMissingGlyphElement*>(node);
-}
-
} // namespace WebCore
#endif // ENABLE(SVG_FONTS)

Powered by Google App Engine
This is Rietveld 408576698