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

Unified Diff: Source/bindings/v8/DOMWrapperWorld.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/scripts/preprocess_idls.py ('k') | Source/bindings/v8/Dictionary.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/DOMWrapperWorld.cpp
diff --git a/Source/bindings/v8/DOMWrapperWorld.cpp b/Source/bindings/v8/DOMWrapperWorld.cpp
index 9127964196ee3139c0b2b7cc61117514ac9700d7..7b5f2fd86fd5d9c2729531b6664cf9ddf37280d3 100644
--- a/Source/bindings/v8/DOMWrapperWorld.cpp
+++ b/Source/bindings/v8/DOMWrapperWorld.cpp
@@ -31,7 +31,7 @@
#include "config.h"
#include "bindings/v8/DOMWrapperWorld.h"
-#include "V8Window.h"
+#include "V8DOMWindow.h"
#include "bindings/v8/DOMDataStore.h"
#include "bindings/v8/V8Binding.h"
#include "bindings/v8/V8DOMActivityLogger.h"
@@ -69,7 +69,7 @@ DOMWrapperWorld* DOMWrapperWorld::current()
{
ASSERT(v8::Context::InContext());
v8::Handle<v8::Context> context = v8::Context::GetCurrent();
- if (!V8DOMWrapper::isWrapperOfType(toInnerGlobalObject(context), &V8Window::info))
+ if (!V8DOMWrapper::isWrapperOfType(toInnerGlobalObject(context), &V8DOMWindow::info))
return 0;
ASSERT(isMainThread());
if (DOMWrapperWorld* world = isolatedWorld(context))
@@ -96,7 +96,7 @@ bool DOMWrapperWorld::contextHasCorrectPrototype(v8::Handle<v8::Context> context
ASSERT(isMainThread());
if (initializingWindow)
return true;
- return V8DOMWrapper::isWrapperOfType(toInnerGlobalObject(context), &V8Window::info);
+ return V8DOMWrapper::isWrapperOfType(toInnerGlobalObject(context), &V8DOMWindow::info);
}
void DOMWrapperWorld::setIsolatedWorldField(v8::Handle<v8::Context> context)
« no previous file with comments | « Source/bindings/scripts/preprocess_idls.py ('k') | Source/bindings/v8/Dictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698