| 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 6f83f08faee8a62646515adbf83287ae6840a0ca..1f78a4a5ed2f8b3660e7b546c7a9cd4114256e78 100644
|
| --- a/components/web_restrictions/browser/web_restrictions_resource_throttle.cc
|
| +++ b/components/web_restrictions/browser/web_restrictions_resource_throttle.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "base/bind.h"
|
| #include "components/web_restrictions/browser/web_restrictions_client.h"
|
| -#include "content/public/browser/resource_controller.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/url_request/redirect_info.h"
|
| #include "net/url_request/url_request.h"
|
| @@ -53,9 +52,9 @@ bool WebRestrictionsResourceThrottle::ShouldDefer(const GURL& url) {
|
|
|
| void WebRestrictionsResourceThrottle::OnCheckResult(const bool should_proceed) {
|
| if (should_proceed) {
|
| - controller()->Resume();
|
| + Resume();
|
| } else {
|
| - controller()->CancelWithError(net::ERR_BLOCKED_BY_ADMINISTRATOR);
|
| + CancelWithError(net::ERR_BLOCKED_BY_ADMINISTRATOR);
|
| }
|
| }
|
|
|
|
|