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 e360061a0b6376c0d59473aca8f1317708872254..4b048fa1b38c356fa30af5c475e12edf33a6cb22 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::getWrapperNonTemplate(impl, isolate); |
if (!wrapper.IsEmpty()) |