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

Unified Diff: Source/core/svg/SVGFESpecularLightingElement.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/SVGFESpecularLightingElement.h
diff --git a/Source/core/svg/SVGFESpecularLightingElement.h b/Source/core/svg/SVGFESpecularLightingElement.h
index 38d5d620e4a2a117ae35463e2ebcfb89f56abdf0..a42ce73417b3f56ce473969fed2e73a634b5bbfb 100644
--- a/Source/core/svg/SVGFESpecularLightingElement.h
+++ b/Source/core/svg/SVGFESpecularLightingElement.h
@@ -22,7 +22,6 @@
#ifndef SVGFESpecularLightingElement_h
#define SVGFESpecularLightingElement_h
-#include "SVGNames.h"
#include "core/platform/graphics/filters/FESpecularLighting.h"
#include "core/svg/SVGAnimatedNumber.h"
#include "core/svg/SVGFELightElement.h"
@@ -57,12 +56,6 @@ private:
END_DECLARE_ANIMATED_PROPERTIES
};
-inline SVGFESpecularLightingElement* toSVGFESpecularLightingElement(Node* node)
-{
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::feSpecularLightingTag));
- return static_cast<SVGFESpecularLightingElement*>(node);
-}
-
} // namespace WebCore
#endif

Powered by Google App Engine
This is Rietveld 408576698