| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| index 48eee14324d9fdf7eea455c7153ecfbf28543479..c86ea8d7228a6ac7197738d5da0db9b328c42f49 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| @@ -99,6 +99,10 @@ ServiceWorkerGlobalScope::~ServiceWorkerGlobalScope()
|
| {
|
| }
|
|
|
| +void ServiceWorkerGlobalScope::didInitializeContext() {
|
| + ServiceWorkerGlobalScopeClient::from(WorkerGlobalScope::clients())->didInitializeContext(this);
|
| +}
|
| +
|
| void ServiceWorkerGlobalScope::didEvaluateWorkerScript()
|
| {
|
| DEFINE_THREAD_SAFE_STATIC_LOCAL(CustomCountHistogram, scriptCountHistogram, new CustomCountHistogram("ServiceWorker.ScriptCount", 1, 1000, 50));
|
|
|