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

Unified Diff: Source/core/svg/SVGFontFaceElement.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/SVGFontFaceElement.h
diff --git a/Source/core/svg/SVGFontFaceElement.h b/Source/core/svg/SVGFontFaceElement.h
index c7998c3ff40669e223a14e19f6729f98faceba95..60ea03d433a163e5ece0a3f288be69a2d729c2ee 100644
--- a/Source/core/svg/SVGFontFaceElement.h
+++ b/Source/core/svg/SVGFontFaceElement.h
@@ -23,7 +23,6 @@
#define SVGFontFaceElement_h
#if ENABLE(SVG_FONTS)
-#include "SVGNames.h"
#include "core/svg/SVGElement.h"
namespace WebCore {
@@ -67,12 +66,6 @@ private:
SVGFontElement* m_fontElement;
};
-inline SVGFontFaceElement* toSVGFontFaceElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::font_faceTag));
- return static_cast<SVGFontFaceElement*>(node);
-}
-
} // namespace WebCore
#endif // ENABLE(SVG_FONTS)

Powered by Google App Engine
This is Rietveld 408576698