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

Unified Diff: chrome/renderer/net/net_error_helper.cc

Issue 1858533002: Introduce WebCachePolicy to merge cache policy enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hiroshige review Created 4 years, 8 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 | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/child/web_url_request_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/net/net_error_helper.cc
diff --git a/chrome/renderer/net/net_error_helper.cc b/chrome/renderer/net/net_error_helper.cc
index a1b85b78437e5a97b4e9d97e1a2a1a271b683174..070c823ad7df466aa0bb4027a20fe51e2b250184 100644
--- a/chrome/renderer/net/net_error_helper.cc
+++ b/chrome/renderer/net/net_error_helper.cc
@@ -315,7 +315,7 @@ void NetErrorHelper::LoadPageFromCache(const GURL& page_url) {
"POST"));
blink::WebURLRequest request(page_url);
- request.setCachePolicy(blink::WebURLRequest::ReturnCacheDataDontLoad);
+ request.setCachePolicy(blink::WebCachePolicy::ReturnCacheDataDontLoad);
web_frame->loadRequest(request);
}
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/child/web_url_request_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698