Index: Source/bindings/v8/custom/V8MessageEventCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8MessageEventCustom.cpp b/Source/bindings/v8/custom/V8MessageEventCustom.cpp |
index 196d72697fca5022104a46ddd88e0135ed8cf1a9..145af08fab3b344eabb04e21bb0052206d1a9ab4 100644 |
--- a/Source/bindings/v8/custom/V8MessageEventCustom.cpp |
+++ b/Source/bindings/v8/custom/V8MessageEventCustom.cpp |
@@ -142,7 +142,7 @@ void V8MessageEvent::initMessageEventMethodCustom(const v8::FunctionCallbackInfo |
v8::Handle<v8::Value> dataArg = info[3]; |
TOSTRING_VOID(V8StringResource<>, originArg, info[4]); |
TOSTRING_VOID(V8StringResource<>, lastEventIdArg, info[5]); |
- DOMWindow* sourceArg = toDOMWindow(info[6], info.GetIsolate()); |
+ LocalDOMWindow* sourceArg = toDOMWindow(info[6], info.GetIsolate()); |
OwnPtr<MessagePortArray> portArray; |
const int portArrayIndex = 7; |
if (!isUndefinedOrNull(info[portArrayIndex])) { |