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

Unified Diff: content/browser/tab_contents/tab_contents.cc

Issue 9815030: Merge parts of 117417 from trunk. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1025/src/
Patch Set: Created 8 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
« no previous file with comments | « content/browser/renderer_host/render_view_host_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/tab_contents.cc
===================================================================
--- content/browser/tab_contents/tab_contents.cc (revision 128048)
+++ content/browser/tab_contents/tab_contents.cc (working copy)
@@ -1210,7 +1210,7 @@
bool is_error_page = (url.spec() == chrome::kUnreachableWebDataURL);
GURL validated_url(url);
GetRenderViewHost()->FilterURL(ChildProcessSecurityPolicy::GetInstance(),
- GetRenderProcessHost()->GetID(), &validated_url);
+ GetRenderProcessHost()->GetID(), false, &validated_url);
RenderViewHost* rvh =
render_manager_.pending_render_view_host() ?
@@ -1223,7 +1223,8 @@
if (is_main_frame) {
// Notify observers about the provisional change in the main frame URL.
FOR_EACH_OBSERVER(WebContentsObserver, observers_,
- ProvisionalChangeToMainFrameUrl(url, opener_url));
+ ProvisionalChangeToMainFrameUrl(validated_url,
+ opener_url));
}
}
@@ -1259,7 +1260,7 @@
<< ", frame_id: " << params.frame_id;
GURL validated_url(params.url);
GetRenderViewHost()->FilterURL(ChildProcessSecurityPolicy::GetInstance(),
- GetRenderProcessHost()->GetID(), &validated_url);
+ GetRenderProcessHost()->GetID(), false, &validated_url);
if (net::ERR_ABORTED == params.error_code) {
// EVIL HACK ALERT! Ignore failed loads when we're showing interstitials.
« no previous file with comments | « content/browser/renderer_host/render_view_host_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698