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

Unified Diff: Source/core/svg/SVGFilterElement.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/SVGFilterElement.h
diff --git a/Source/core/svg/SVGFilterElement.h b/Source/core/svg/SVGFilterElement.h
index 427c37dd44912493f813ee23e169836ed604ea59..f8061b3b7345c29822b20669b7dc9a655f5d6a0e 100644
--- a/Source/core/svg/SVGFilterElement.h
+++ b/Source/core/svg/SVGFilterElement.h
@@ -23,7 +23,6 @@
#ifndef SVGFilterElement_h
#define SVGFilterElement_h
-#include "SVGNames.h"
#include "core/svg/SVGAnimatedBoolean.h"
#include "core/svg/SVGAnimatedEnumeration.h"
#include "core/svg/SVGAnimatedInteger.h"
@@ -79,12 +78,6 @@ private:
HashSet<RefPtr<Node> > m_clientsToAdd;
};
-inline SVGFilterElement* toSVGFilterElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::filterTag));
- return static_cast<SVGFilterElement*>(node);
-}
-
}
#endif

Powered by Google App Engine
This is Rietveld 408576698