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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.cpp

Issue 2573523002: Rename request() method to getRequest(). (Closed)
Patch Set: Fixing a mistake I've made in USBDevice.cpp Created 4 years 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/core/loader/FrameLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
index 4ecd86acfe5d193b17657f2d080407ce30c033ae..1cdd19374e3cb3a47f8e74b60c3385811085cd93 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -399,9 +399,9 @@ void FrameLoader::setHistoryItemStateForCommit(
m_currentItem->setDocumentState(m_frame->document()->formElementsState());
m_currentItem->setTarget(m_frame->tree().uniqueName());
m_currentItem->setReferrer(SecurityPolicy::generateReferrer(
- m_documentLoader->request().getReferrerPolicy(), m_currentItem->url(),
- m_documentLoader->request().httpReferrer()));
- m_currentItem->setFormInfoFromRequest(m_documentLoader->request());
+ m_documentLoader->getRequest().getReferrerPolicy(), m_currentItem->url(),
+ m_documentLoader->getRequest().httpReferrer()));
+ m_currentItem->setFormInfoFromRequest(m_documentLoader->getRequest());
// Don't propagate state from the old item to the new item if there isn't an
// old item (obviously), or if this is a back/forward navigation, since we
@@ -1325,7 +1325,7 @@ void FrameLoader::commitProvisionalLoad() {
// timing information.
if (m_frame->document()) {
RefPtr<SecurityOrigin> securityOrigin =
- SecurityOrigin::create(m_provisionalDocumentLoader->request().url());
+ SecurityOrigin::create(m_provisionalDocumentLoader->getRequest().url());
m_provisionalDocumentLoader->timing().setHasSameOriginAsPreviousDocument(
securityOrigin->canRequest(m_frame->document()->url()));
}
@@ -1710,7 +1710,7 @@ void FrameLoader::startLoad(FrameLoadRequest& frameLoadRequest,
m_progressTracker->progressStarted();
m_provisionalDocumentLoader->appendRedirect(
- m_provisionalDocumentLoader->request().url());
+ m_provisionalDocumentLoader->getRequest().url());
client()->dispatchDidStartProvisionalLoad();
DCHECK(m_provisionalDocumentLoader);
m_provisionalDocumentLoader->startLoadingMainResource();

Powered by Google App Engine
This is Rietveld 408576698