| Index: content/browser/service_worker/service_worker_version.cc
|
| diff --git a/content/browser/service_worker/service_worker_version.cc b/content/browser/service_worker/service_worker_version.cc
|
| index 60d70167be0bf719f8c6fa3c92d39f5129f5671a..8af8bcaeef7bf40213963b0cf8646e9d37d1c568 100644
|
| --- a/content/browser/service_worker/service_worker_version.cc
|
| +++ b/content/browser/service_worker/service_worker_version.cc
|
| @@ -1369,7 +1369,7 @@ void ServiceWorkerVersion::OnRegisterForeignFetchScopes(
|
| // Renderer should have already verified all these urls are inside the
|
| // worker's scope, but verify again here on the browser process side.
|
| GURL origin = scope_.GetOrigin();
|
| - std::string scope_path = scope_.path();
|
| + base::StringPiece scope_path = scope_.path();
|
| for (const GURL& url : sub_scopes) {
|
| if (!url.is_valid() || url.GetOrigin() != origin ||
|
| !base::StartsWith(url.path(), scope_path,
|
|
|