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

Unified Diff: components/web_restrictions/browser/web_restrictions_resource_throttle.cc

Issue 1890203002: Implement Web Restrictions in WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix final nits Created 4 years, 4 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: components/web_restrictions/browser/web_restrictions_resource_throttle.cc
diff --git a/components/web_restrictions/browser/web_restrictions_resource_throttle.cc b/components/web_restrictions/browser/web_restrictions_resource_throttle.cc
index 378fa9216ceb3c5e70148fa6f04b996d5237e73d..6f83f08faee8a62646515adbf83287ae6840a0ca 100644
--- a/components/web_restrictions/browser/web_restrictions_resource_throttle.cc
+++ b/components/web_restrictions/browser/web_restrictions_resource_throttle.cc
@@ -43,7 +43,7 @@ bool WebRestrictionsResourceThrottle::ShouldDefer(const GURL& url) {
if (provider_->SupportsRequest() && !is_main_frame_)
return false;
UrlAccess access = provider_->ShouldProceed(
- is_main_frame_, url,
+ is_main_frame_, url.spec(),
base::Bind(&WebRestrictionsResourceThrottle::OnCheckResult,
weak_ptr_factory_.GetWeakPtr()));
if (access == DISALLOW)

Powered by Google App Engine
This is Rietveld 408576698