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

Unified Diff: Source/core/svg/SVGMPathElement.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/SVGMPathElement.h
diff --git a/Source/core/svg/SVGMPathElement.h b/Source/core/svg/SVGMPathElement.h
index f9e5b95bd169a1551290e4f56f7a4a21fdb07b08..9294fd55931b833309360476248b443663fb7ab7 100644
--- a/Source/core/svg/SVGMPathElement.h
+++ b/Source/core/svg/SVGMPathElement.h
@@ -20,7 +20,6 @@
#ifndef SVGMPathElement_h
#define SVGMPathElement_h
-#include "SVGNames.h"
#include "core/svg/SVGAnimatedBoolean.h"
#include "core/svg/SVGAnimatedString.h"
#include "core/svg/SVGElement.h"
@@ -64,12 +63,6 @@ private:
END_DECLARE_ANIMATED_PROPERTIES
};
-inline SVGMPathElement* toSVGMPathElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::mpathTag));
- return static_cast<SVGMPathElement*>(node);
-}
-
} // namespace WebCore
#endif // SVGMPathElement_h

Powered by Google App Engine
This is Rietveld 408576698