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

Unified Diff: Source/web/WebPagePopupImpl.cpp

Issue 31063004: Have Frame::loader() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
« no previous file with comments | « Source/web/WebHelperPluginImpl.cpp ('k') | Source/web/WebPageSerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPagePopupImpl.cpp
diff --git a/Source/web/WebPagePopupImpl.cpp b/Source/web/WebPagePopupImpl.cpp
index 54c750d2722557f6e55049ad392a6b53ee35bf1a..ca0ced5ebed032ad649b8eaf84447d3865e1c026 100644
--- a/Source/web/WebPagePopupImpl.cpp
+++ b/Source/web/WebPagePopupImpl.cpp
@@ -212,9 +212,9 @@ bool WebPagePopupImpl::initializePage()
DOMWindowPagePopup::install(frame->domWindow(), m_popupClient);
- DocumentWriter* writer = frame->loader()->activeDocumentLoader()->beginWriting("text/html", "UTF-8");
+ DocumentWriter* writer = frame->loader().activeDocumentLoader()->beginWriting("text/html", "UTF-8");
m_popupClient->writeDocument(*writer);
- frame->loader()->activeDocumentLoader()->endWriting(writer);
+ frame->loader().activeDocumentLoader()->endWriting(writer);
return true;
}
@@ -224,7 +224,7 @@ void WebPagePopupImpl::destroyPage()
return;
if (m_page->mainFrame())
- m_page->mainFrame()->loader()->frameDetached();
+ m_page->mainFrame()->loader().frameDetached();
m_page.clear();
}
@@ -317,7 +317,7 @@ void WebPagePopupImpl::closePopup()
{
if (m_page) {
m_page->clearPageGroup();
- m_page->mainFrame()->loader()->stopAllLoaders();
+ m_page->mainFrame()->loader().stopAllLoaders();
DOMWindowPagePopup::uninstall(m_page->mainFrame()->domWindow());
}
m_closing = true;
« no previous file with comments | « Source/web/WebHelperPluginImpl.cpp ('k') | Source/web/WebPageSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698