Index: Source/web/WebPagePopupImpl.cpp |
diff --git a/Source/web/WebPagePopupImpl.cpp b/Source/web/WebPagePopupImpl.cpp |
index b129dc6e10e66c02a90d032d8e7687b2fd19e955..0fed23ec550c9499ea7dc3ed0230b601b46ff538 100644 |
--- a/Source/web/WebPagePopupImpl.cpp |
+++ b/Source/web/WebPagePopupImpl.cpp |
@@ -199,7 +199,7 @@ bool WebPagePopupImpl::initializePage() |
static ContextFeaturesClient* pagePopupFeaturesClient = new PagePopupFeaturesClient(); |
provideContextFeaturesTo(m_page.get(), pagePopupFeaturesClient); |
static FrameLoaderClient* emptyFrameLoaderClient = new EmptyFrameLoaderClient(); |
- RefPtr<Frame> frame = Frame::create(FrameInit::create(0, m_page.get(), emptyFrameLoaderClient)); |
+ RefPtr<Frame> frame = Frame::create(FrameInit::create(0, &m_page->frameHost(), emptyFrameLoaderClient)); |
frame->setView(FrameView::create(frame.get())); |
frame->init(); |
frame->view()->resize(m_popupClient->contentSize()); |