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

Unified Diff: Source/core/svg/SVGHKernElement.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/SVGHKernElement.h
diff --git a/Source/core/svg/SVGHKernElement.h b/Source/core/svg/SVGHKernElement.h
index 74b158776a322cd5bc0fd2d964fe62c19c668baf..c142d95579fb411efebaf9c28ecc6a7c2769d647 100644
--- a/Source/core/svg/SVGHKernElement.h
+++ b/Source/core/svg/SVGHKernElement.h
@@ -23,7 +23,6 @@
#define SVGHKernElement_h
#if ENABLE(SVG_FONTS)
-#include "SVGNames.h"
#include "core/svg/SVGFontElement.h"
namespace WebCore {
@@ -43,12 +42,6 @@ private:
virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; }
};
-inline SVGHKernElement* toSVGHKernElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::hkernTag));
- return static_cast<SVGHKernElement*>(node);
-}
-
} // namespace WebCore
#endif // ENABLE(SVG_FONTS)

Powered by Google App Engine
This is Rietveld 408576698