| Index: Source/core/loader/DocumentLoader.cpp
|
| diff --git a/Source/core/loader/DocumentLoader.cpp b/Source/core/loader/DocumentLoader.cpp
|
| index 4c2f53a150ae65b4282d22cd8b48ba45415ea68a..5dc38f6e0a9a9a5e1d33f6a206e9fcb088892fb8 100644
|
| --- a/Source/core/loader/DocumentLoader.cpp
|
| +++ b/Source/core/loader/DocumentLoader.cpp
|
| @@ -314,7 +314,7 @@ bool DocumentLoader::shouldContinueForNavigationPolicy(const ResourceRequest& re
|
| return true;
|
| if (policy == NavigationPolicyIgnore)
|
| return false;
|
| - if (!DOMWindow::allowPopUp(m_frame) && !UserGestureIndicator::processingUserGesture())
|
| + if (!DOMWindow::allowPopUp(*m_frame) && !UserGestureIndicator::processingUserGesture())
|
| return false;
|
| frameLoader()->client()->loadURLExternally(request, policy);
|
| return false;
|
| @@ -809,7 +809,7 @@ PassRefPtr<DocumentWriter> DocumentLoader::createWriterFor(LocalFrame* frame, co
|
| frame->document()->prepareForDestruction();
|
|
|
| if (!shouldReuseDefaultView)
|
| - frame->setDOMWindow(DOMWindow::create(frame));
|
| + frame->setDOMWindow(DOMWindow::create(*frame));
|
|
|
| RefPtr<Document> document = frame->domWindow()->installNewDocument(mimeType, init);
|
| if (ownerDocument) {
|
|
|