Index: Source/core/page/CreateWindow.cpp |
diff --git a/Source/core/page/CreateWindow.cpp b/Source/core/page/CreateWindow.cpp |
index fbb21966c30609ff04d281db4b6a1459130e2403..0110cbefacbf29a28faf1074eba5c70a6550efa6 100644 |
--- a/Source/core/page/CreateWindow.cpp |
+++ b/Source/core/page/CreateWindow.cpp |
@@ -114,7 +114,7 @@ static Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLo |
} |
Frame* createWindow(const String& urlString, const AtomicString& frameName, const WindowFeatures& windowFeatures, |
- DOMWindow* callingWindow, Frame* firstFrame, Frame* openerFrame, DOMWindow::PrepareDialogFunction function, void* functionContext) |
+ DOMWindow* callingWindow, Frame* firstFrame, Frame* openerFrame) |
{ |
Frame* activeFrame = callingWindow->frame(); |
@@ -145,9 +145,6 @@ Frame* createWindow(const String& urlString, const AtomicString& frameName, cons |
if (newFrame->domWindow()->isInsecureScriptAccess(callingWindow, completedURL)) |
return newFrame; |
- if (function) |
- function(newFrame->domWindow(), functionContext); |
- |
if (created) { |
FrameLoadRequest request(callingWindow->document(), ResourceRequest(completedURL, referrer)); |
newFrame->loader().load(request); |