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

Unified Diff: chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.cc

Issue 11313018: Prevent webview tags from navigating outside web-safe schemes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nit Created 8 years, 2 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 | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.cc
diff --git a/chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.cc b/chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.cc
index a6e39508bfad90e387c2bd2f992e7849b9757282..33101759efa0266c2c8367aa0f5e5d6356edbab4 100644
--- a/chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.cc
+++ b/chrome/browser/component/navigation_interception/intercept_navigation_resource_throttle.cc
@@ -39,10 +39,7 @@ void CheckIfShouldIgnoreNavigationOnUIThread(
if (rvh) {
GURL validated_url(url);
- RenderViewHost::FilterURL(
- rvh->GetProcess()->GetID(),
- false,
- &validated_url);
+ RenderViewHost::FilterURL(rvh->GetProcess(), false, &validated_url);
should_ignore_navigation = should_ignore_callback.Run(
rvh, validated_url, referrer, has_user_gesture);
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698