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

Unified Diff: Source/core/svg/SVGFontElement.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/SVGFontElement.h
diff --git a/Source/core/svg/SVGFontElement.h b/Source/core/svg/SVGFontElement.h
index 1737f1eebb3425eb594781e3c1f927f4a9706bb1..f315cbef1f186f3c4da54ab8205d4f2949ca0e9d 100644
--- a/Source/core/svg/SVGFontElement.h
+++ b/Source/core/svg/SVGFontElement.h
@@ -23,7 +23,6 @@
#define SVGFontElement_h
#if ENABLE(SVG_FONTS)
-#include "SVGNames.h"
#include "core/svg/SVGAnimatedBoolean.h"
#include "core/svg/SVGElement.h"
#include "core/svg/SVGExternalResourcesRequired.h"
@@ -89,12 +88,6 @@ private:
bool m_isGlyphCacheValid;
};
-inline SVGFontElement* toSVGFontElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::fontTag));
- return static_cast<SVGFontElement*>(node);
-}
-
} // namespace WebCore
#endif // ENABLE(SVG_FONTS)

Powered by Google App Engine
This is Rietveld 408576698