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

Unified Diff: Source/core/svg/SVGFEImageElement.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/SVGFEImageElement.h
diff --git a/Source/core/svg/SVGFEImageElement.h b/Source/core/svg/SVGFEImageElement.h
index c769e5572136dcc9b5a7c463f5e4d347c18cbf0f..c7b9270fc694f9fd0bd66558168c39c68f50f65a 100644
--- a/Source/core/svg/SVGFEImageElement.h
+++ b/Source/core/svg/SVGFEImageElement.h
@@ -21,7 +21,6 @@
#ifndef SVGFEImageElement_h
#define SVGFEImageElement_h
-#include "SVGNames.h"
#include "core/fetch/ImageResource.h"
#include "core/fetch/ResourcePtr.h"
#include "core/platform/graphics/ImageBuffer.h"
@@ -72,12 +71,6 @@ private:
ResourcePtr<ImageResource> m_cachedImage;
};
-inline SVGFEImageElement* toSVGFEImageElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::feImageTag));
- return static_cast<SVGFEImageElement*>(node);
-}
-
} // namespace WebCore
#endif

Powered by Google App Engine
This is Rietveld 408576698