| Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| index f6f51de7e043a58ceb39726fe420ec89e5a75baf..08572fcc574c4cabb5c66425c3f02bbe51375429 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| @@ -213,11 +213,11 @@ void WorkerGlobalScope::importScripts(const Vector<String>& urls, ExceptionState
|
| }
|
|
|
| InspectorInstrumentation::scriptImported(&executionContext, scriptLoader->identifier(), scriptLoader->script());
|
| - thread()->workerReportingProxy().didLoadWorkerScript(scriptLoader->script().length(), scriptLoader->cachedMetadata() ? scriptLoader->cachedMetadata()->size() : 0);
|
|
|
| ErrorEvent* errorEvent = nullptr;
|
| std::unique_ptr<Vector<char>> cachedMetaData(scriptLoader->releaseCachedMetadata());
|
| CachedMetadataHandler* handler(createWorkerScriptCachedMetadataHandler(completeURL, cachedMetaData.get()));
|
| + thread()->workerReportingProxy().willEvaluateImportedScript(scriptLoader->script().length(), scriptLoader->cachedMetadata() ? scriptLoader->cachedMetadata()->size() : 0);
|
| m_scriptController->evaluate(ScriptSourceCode(scriptLoader->script(), scriptLoader->responseURL()), &errorEvent, handler, m_v8CacheOptions);
|
| if (errorEvent) {
|
| m_scriptController->rethrowExceptionFromImportedScript(errorEvent, exceptionState);
|
|
|