| Index: Source/bindings/v8/V8NPUtils.cpp
|
| diff --git a/Source/bindings/v8/V8NPUtils.cpp b/Source/bindings/v8/V8NPUtils.cpp
|
| index cba26ebcd08dd23991c6f077d93462b9f2354af7..df6eefe3b429d368590adf0737e627f0f5533981 100644
|
| --- a/Source/bindings/v8/V8NPUtils.cpp
|
| +++ b/Source/bindings/v8/V8NPUtils.cpp
|
| @@ -36,7 +36,7 @@
|
| #include "bindings/v8/V8NPObject.h"
|
| #include "bindings/v8/npruntime_impl.h"
|
| #include "bindings/v8/npruntime_priv.h"
|
| -#include "core/frame/DOMWindow.h"
|
| +#include "core/frame/LocalDOMWindow.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| #include <stdlib.h>
|
| @@ -69,7 +69,7 @@ void convertV8ObjectToNPVariant(v8::Local<v8::Value> object, NPObject* owner, NP
|
| str->WriteUtf8(utf8Chars, length, 0, v8::String::HINT_MANY_WRITES_EXPECTED);
|
| STRINGN_TO_NPVARIANT(utf8Chars, length-1, *result);
|
| } else if (object->IsObject()) {
|
| - DOMWindow* window = currentDOMWindow(isolate);
|
| + LocalDOMWindow* window = currentDOMWindow(isolate);
|
| NPObject* npobject = npCreateV8ScriptObject(0, v8::Handle<v8::Object>::Cast(object), window, isolate);
|
| if (npobject)
|
| _NPN_RegisterObject(npobject, owner);
|
|
|