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); |
} |