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

Unified Diff: Source/bindings/v8/custom/V8ElementCustom.cpp

Issue 15338005: Remove ENABLE(SVG) from bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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
« no previous file with comments | « Source/bindings/v8/custom/V8DocumentCustom.cpp ('k') | Source/bindings/v8/custom/V8NodeCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/custom/V8ElementCustom.cpp
diff --git a/Source/bindings/v8/custom/V8ElementCustom.cpp b/Source/bindings/v8/custom/V8ElementCustom.cpp
index 0d10a45883c81b97b77a7fca6d05868627a96878..355f3a81de955ae5ef54601c5ef368a78f9ed36a 100644
--- a/Source/bindings/v8/custom/V8ElementCustom.cpp
+++ b/Source/bindings/v8/custom/V8ElementCustom.cpp
@@ -33,10 +33,7 @@
#include "V8Element.h"
#include "V8HTMLElement.h"
-
-#if ENABLE(SVG)
#include "V8SVGElement.h"
-#endif
namespace WebCore {
@@ -46,10 +43,8 @@ v8::Handle<v8::Object> wrap(Element* impl, v8::Handle<v8::Object> creationContex
ASSERT(impl);
if (impl->isHTMLElement())
return wrap(toHTMLElement(impl), creationContext, isolate);
-#if ENABLE(SVG)
if (impl->isSVGElement())
return wrap(toSVGElement(impl), creationContext, isolate);
-#endif
return V8Element::createWrapper(impl, creationContext, isolate);
}
« no previous file with comments | « Source/bindings/v8/custom/V8DocumentCustom.cpp ('k') | Source/bindings/v8/custom/V8NodeCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698