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

Unified Diff: third_party/WebKit/Source/web/WebPagePopupImpl.cpp

Issue 2762423003: Made Frame constructors (and subclasses) take Page& instead of Page* (Closed)
Patch Set: Rebase Created 3 years, 9 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/web/WebPagePopupImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
index defe1a1b0fc2ba06d2743742263eabb2b12ef3e3..20792f98de7299cd43c2e589eced2f4b2e4fddde 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -307,7 +307,7 @@ bool WebPagePopupImpl::initializePage() {
provideContextFeaturesTo(*m_page, WTF::makeUnique<PagePopupFeaturesClient>());
DEFINE_STATIC_LOCAL(LocalFrameClient, emptyLocalFrameClient,
(EmptyLocalFrameClient::create()));
- LocalFrame* frame = LocalFrame::create(&emptyLocalFrameClient, m_page, 0);
+ LocalFrame* frame = LocalFrame::create(&emptyLocalFrameClient, *m_page, 0);
frame->setPagePopupOwner(m_popupClient->ownerElement());
frame->setView(FrameView::create(*frame));
frame->init();
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698