Index: Source/bindings/core/v8/custom/V8EventTargetCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8EventTargetCustom.cpp b/Source/bindings/core/v8/custom/V8EventTargetCustom.cpp |
index 4f881bc35f6623fd2596121ea7d26f03cf8efa20..e98351f7bd14df377c773619ec14b481f75ce069 100644 |
--- a/Source/bindings/core/v8/custom/V8EventTargetCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8EventTargetCustom.cpp |
@@ -41,8 +41,9 @@ v8::Handle<v8::Value> toV8(EventTarget* impl, v8::Handle<v8::Object> creationCon |
if (UNLIKELY(!impl)) |
return v8::Null(isolate); |
+ // FIXME: This naming seems broken. |
if (impl->interfaceName() == EventTargetNames::LocalDOMWindow) |
- return toV8(static_cast<LocalDOMWindow*>(impl), creationContext, isolate); |
+ return toV8(static_cast<DOMWindow*>(impl), creationContext, isolate); |
v8::Handle<v8::Value> wrapper = DOMDataStore::getWrapper(impl, isolate); |
if (!wrapper.IsEmpty()) |