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

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

Issue 2772753002: Change FrameLoadTypeReload to take FrameLoadTypeReloadMainResource's behavior (Closed)
Patch Set: rebase error fix (replace newly added ReloadMainResource) 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/FrameFetchContext.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
index d267da610300fd28151cce77f7237c92549ea124..75157c22594c2596b0a48ef22ebd0b7c07ca9ac1 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
@@ -254,8 +254,6 @@ WebCachePolicy determineWebCachePolicy(RequestMethod method,
? WebCachePolicy::ReturnCacheDataDontLoad
: WebCachePolicy::ReturnCacheDataElseLoad;
case FrameLoadTypeReload:
- return WebCachePolicy::ValidatingCacheData;
- case FrameLoadTypeReloadMainResource:
return resourceType == ResourceType::kIsMainResource
? WebCachePolicy::ValidatingCacheData
: WebCachePolicy::UseProtocolCachePolicy;

Powered by Google App Engine
This is Rietveld 408576698