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

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindow.cpp

Issue 1858613002: bindings: Makes the window object be the inner global object. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Synced. Created 4 years, 8 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
Index: third_party/WebKit/Source/core/frame/DOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.cpp b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
index bf9669f0d92d789fd55f16c309305d1cf147566f..b2c0e0244c8a6ae692b031aaf0b8829e7eb31b41 100644
--- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
@@ -44,7 +44,7 @@ DOMWindow::~DOMWindow()
v8::Local<v8::Object> DOMWindow::wrap(v8::Isolate*, v8::Local<v8::Object> creationContext)
{
// DOMWindow must never be wrapped with wrap method. The wrappers must be
- // created at WindowProxy::installDOMWindow().
+ // created at WindowProxy::createContext() and setupWindowPrototypeChain().
RELEASE_NOTREACHED();
return v8::Local<v8::Object>();
}

Powered by Google App Engine
This is Rietveld 408576698