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

Unified Diff: content/browser/frame_host/navigation_request.cc

Issue 2780353005: Fix history navigations in PlzNavigate to use the proper load flags. (Closed)
Patch Set: Add missing s 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: content/browser/frame_host/navigation_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index c4a3e3a4a1c00726890ed2c3700f882acd467621..bdf6aab8e231179dee3b0ef85ed19c57b1c103c4 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -87,6 +87,8 @@ void UpdateLoadFlagsWithCacheFlags(
if (is_post) {
*load_flags |=
net::LOAD_ONLY_FROM_CACHE | net::LOAD_SKIP_CACHE_VALIDATION;
+ } else {
+ *load_flags |= net::LOAD_SKIP_CACHE_VALIDATION;
}
break;
}

Powered by Google App Engine
This is Rietveld 408576698