Index: Source/bindings/v8/Dictionary.cpp |
diff --git a/Source/bindings/v8/Dictionary.cpp b/Source/bindings/v8/Dictionary.cpp |
index 8119179d2356ee49599a56a7ac38709532de7eb5..70c57c3fa14584e57baeb58b3815fdac2197b14e 100644 |
--- a/Source/bindings/v8/Dictionary.cpp |
+++ b/Source/bindings/v8/Dictionary.cpp |
@@ -28,7 +28,6 @@ |
#include "V8CSSFontFaceRule.h" |
#include "V8DOMError.h" |
-#include "V8DOMWindow.h" |
#include "V8EventTarget.h" |
#include "V8IDBKeyRange.h" |
#include "V8MIDIPort.h" |
@@ -39,6 +38,7 @@ |
#include "V8Storage.h" |
#include "V8Uint8Array.h" |
#include "V8VoidCallback.h" |
+#include "V8Window.h" |
#include "bindings/v8/ArrayValue.h" |
#include "bindings/v8/V8Binding.h" |
#include "bindings/v8/V8Utilities.h" |
@@ -250,9 +250,9 @@ bool Dictionary::get(const String& key, RefPtr<DOMWindow>& value) const |
value = 0; |
if (v8Value->IsObject()) { |
v8::Handle<v8::Object> wrapper = v8::Handle<v8::Object>::Cast(v8Value); |
- v8::Handle<v8::Object> window = wrapper->FindInstanceInPrototypeChain(V8DOMWindow::GetTemplate(m_isolate, worldTypeInMainThread(m_isolate))); |
+ v8::Handle<v8::Object> window = wrapper->FindInstanceInPrototypeChain(V8Window::GetTemplate(m_isolate, worldTypeInMainThread(m_isolate))); |
if (!window.IsEmpty()) |
- value = V8DOMWindow::toNative(window); |
+ value = V8Window::toNative(window); |
} |
return true; |
} |
@@ -430,7 +430,7 @@ bool Dictionary::get(const String& key, RefPtr<EventTarget>& value) const |
// exists on a prototype chain of v8Value. |
if (v8Value->IsObject()) { |
v8::Handle<v8::Object> wrapper = v8::Handle<v8::Object>::Cast(v8Value); |
- v8::Handle<v8::Object> window = wrapper->FindInstanceInPrototypeChain(V8DOMWindow::GetTemplate(m_isolate, worldTypeInMainThread(m_isolate))); |
+ v8::Handle<v8::Object> window = wrapper->FindInstanceInPrototypeChain(V8Window::GetTemplate(m_isolate, worldTypeInMainThread(m_isolate))); |
if (!window.IsEmpty()) { |
value = toWrapperTypeInfo(window)->toEventTarget(window); |
return true; |