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

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

Issue 2772753002: Change FrameLoadTypeReload to take FrameLoadTypeReloadMainResource's behavior (Closed)
Patch Set: remove Reload 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/core/loader/NavigationScheduler.cpp
diff --git a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
index f71c9d72cebed18bc0335bf7442839a649213411..f87a1177e67ad0e80c2db7899371bb31bb3b7526 100644
--- a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
+++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
@@ -264,7 +264,8 @@ class ScheduledReload final : public ScheduledNavigation {
std::unique_ptr<UserGestureIndicator> gestureIndicator =
createUserGestureIndicator();
ResourceRequest resourceRequest = frame->loader().resourceRequestForReload(
- FrameLoadTypeReload, KURL(), ClientRedirectPolicy::ClientRedirect);
+ FrameLoadTypeReloadMainResource, KURL(),
Takashi Toyoshima 2017/03/23 08:45:43 non-mechanical. I think reviewers can review this
+ ClientRedirectPolicy::ClientRedirect);
if (resourceRequest.isNull())
return;
FrameLoadRequest request = FrameLoadRequest(nullptr, resourceRequest);

Powered by Google App Engine
This is Rietveld 408576698