| Index: ios/web/webui/url_data_source_ios.mm
|
| diff --git a/ios/web/webui/url_data_source_ios.mm b/ios/web/webui/url_data_source_ios.mm
|
| index 537b1436e5f00eb7e6a8a0fd838b5c535186a0a3..def77e58f0055ab3ee4ed40c80e152970490be7b 100644
|
| --- a/ios/web/webui/url_data_source_ios.mm
|
| +++ b/ios/web/webui/url_data_source_ios.mm
|
| @@ -35,11 +35,8 @@ bool URLDataSourceIOS::ShouldDenyXFrameOptions() const {
|
| return true;
|
| }
|
|
|
| -bool URLDataSourceIOS::ShouldServiceRequest(
|
| - const net::URLRequest* request) const {
|
| - if (GetWebClient()->IsAppSpecificURL(request->url()))
|
| - return true;
|
| - return false;
|
| +bool URLDataSourceIOS::ShouldServiceRequest(const GURL& url) const {
|
| + return GetWebClient()->IsAppSpecificURL(url);
|
| }
|
|
|
| } // namespace web
|
|
|