| Index: extensions/browser/api/web_request/web_request_api.cc
|
| diff --git a/extensions/browser/api/web_request/web_request_api.cc b/extensions/browser/api/web_request/web_request_api.cc
|
| index ed9358202c4ddf7085ca8800ec85a5e58ba15871..3e050b88152713e47cb841e9b60b83732b3f159c 100644
|
| --- a/extensions/browser/api/web_request/web_request_api.cc
|
| +++ b/extensions/browser/api/web_request/web_request_api.cc
|
| @@ -132,7 +132,7 @@ bool IsWebRequestEvent(const std::string& event_name) {
|
| web_request_event_name.replace(
|
| 0, strlen(webview::kWebViewEventPrefix), kWebRequestEventPrefix);
|
| }
|
| - const auto web_request_events_end =
|
| + auto* const* web_request_events_end =
|
| kWebRequestEvents + arraysize(kWebRequestEvents);
|
| return std::find(kWebRequestEvents, web_request_events_end,
|
| web_request_event_name) != web_request_events_end;
|
|
|