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

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

Issue 2918403003: Move [Provisional]DataSource accessors/methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: Added a TODO comment for user agent overrides - https://crbug.com/426555 Created 3 years, 6 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 | « no previous file | content/renderer/render_frame_impl.h » ('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 8bc564987403844bc8c4a2ee445e7a306c9c99b7..1448dd9e4718ec3be678ecde98285f3b91fbe3ff 100644
--- a/chrome/renderer/net/net_error_helper.cc
+++ b/chrome/renderer/net/net_error_helper.cc
@@ -320,7 +320,7 @@ void NetErrorHelper::ReloadPage(bool bypass_cache) {
}
void NetErrorHelper::LoadPageFromCache(const GURL& page_url) {
- blink::WebFrame* web_frame = render_frame()->GetWebFrame();
+ blink::WebLocalFrame* web_frame = render_frame()->GetWebFrame();
DCHECK_NE("POST", web_frame->DataSource()->GetRequest().HttpMethod().Ascii());
blink::WebURLRequest request(page_url);
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698