Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: Source/bindings/v8/V8Initializer.cpp

Issue 17035010: Revert "Rename DOMWindow interface to Window" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/v8/V8EventListenerList.cpp ('k') | Source/bindings/v8/V8WindowShell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8Initializer.cpp
diff --git a/Source/bindings/v8/V8Initializer.cpp b/Source/bindings/v8/V8Initializer.cpp
index 6e8509b0ed39e1b706db05e7a8115c13c902099e..86cb134c092a0fab264f2c02b506787af221917f 100644
--- a/Source/bindings/v8/V8Initializer.cpp
+++ b/Source/bindings/v8/V8Initializer.cpp
@@ -26,9 +26,9 @@
#include "config.h"
#include "bindings/v8/V8Initializer.h"
+#include "V8DOMWindow.h"
#include "V8History.h"
#include "V8Location.h"
-#include "V8Window.h"
#include "bindings/v8/ScriptCallStackFactory.h"
#include "bindings/v8/ScriptProfiler.h"
#include "bindings/v8/V8Binding.h"
@@ -49,11 +49,11 @@ static Frame* findFrame(v8::Local<v8::Object> host, v8::Local<v8::Value> data, v
{
WrapperTypeInfo* type = WrapperTypeInfo::unwrap(data);
- if (V8Window::info.equals(type)) {
- v8::Handle<v8::Object> windowWrapper = host->FindInstanceInPrototypeChain(V8Window::GetTemplate(isolate, worldTypeInMainThread(isolate)));
+ if (V8DOMWindow::info.equals(type)) {
+ v8::Handle<v8::Object> windowWrapper = host->FindInstanceInPrototypeChain(V8DOMWindow::GetTemplate(isolate, worldTypeInMainThread(isolate)));
if (windowWrapper.IsEmpty())
return 0;
- return V8Window::toNative(windowWrapper)->frame();
+ return V8DOMWindow::toNative(windowWrapper)->frame();
}
if (V8History::info.equals(type))
« no previous file with comments | « Source/bindings/v8/V8EventListenerList.cpp ('k') | Source/bindings/v8/V8WindowShell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698