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

Unified Diff: Source/core/page/CreateWindow.cpp

Issue 683013002: Extract a DOMWindow interface from LocalDOMWindow and use it in the idl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix incorrect assumption Created 6 years, 1 month 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: Source/core/page/CreateWindow.cpp
diff --git a/Source/core/page/CreateWindow.cpp b/Source/core/page/CreateWindow.cpp
index 50f4cddeac9d5dcf5ded92a55ffde4b9c99bd8bf..822dd26fdf27f0b11f00705ec23652a918c69c78 100644
--- a/Source/core/page/CreateWindow.cpp
+++ b/Source/core/page/CreateWindow.cpp
@@ -149,11 +149,11 @@ LocalFrame* createWindow(const String& urlString, const AtomicString& frameName,
newFrame->loader().setOpener(&openerFrame);
- if (newFrame->domWindow()->isInsecureScriptAccess(callingWindow, completedURL))
+ if (newFrame->localDOMWindow()->isInsecureScriptAccess(callingWindow, completedURL))
return newFrame;
if (function)
- function(newFrame->domWindow(), functionContext);
+ function(newFrame->localDOMWindow(), functionContext);
if (created)
newFrame->loader().load(FrameLoadRequest(callingWindow.document(), completedURL));

Powered by Google App Engine
This is Rietveld 408576698