diff options
Diffstat (limited to 'WebCore/bindings/v8/custom/V8ElementCustom.cpp')
-rw-r--r-- | WebCore/bindings/v8/custom/V8ElementCustom.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/custom/V8ElementCustom.cpp b/WebCore/bindings/v8/custom/V8ElementCustom.cpp index b420f6a..a81e081 100644 --- a/WebCore/bindings/v8/custom/V8ElementCustom.cpp +++ b/WebCore/bindings/v8/custom/V8ElementCustom.cpp @@ -135,8 +135,10 @@ v8::Handle<v8::Value> toV8(Element* impl, bool forceNewObject) return v8::Null(); if (impl->isHTMLElement()) return toV8(static_cast<HTMLElement*>(impl), forceNewObject); +#if ENABLE(SVG) if (impl->isSVGElement()) return toV8(static_cast<SVGElement*>(impl), forceNewObject); +#endif return V8Element::wrap(impl, forceNewObject); } } // namespace WebCore |