| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| index efd57b705ecb0132efe521ca599154baee0085e0..8a213195804932dd5dfb365b65d393c44dd8132b 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
|
| @@ -76,10 +76,11 @@ public:
|
| {
|
| if (!m_resolver->getExecutionContext() || m_resolver->getExecutionContext()->activeDOMObjectsAreStopped())
|
| return;
|
| + ScriptState::Scope scope(m_resolver->getScriptState());
|
| if (error.errorType == WebServiceWorkerError::ErrorTypeType) {
|
| m_resolver->reject(V8ThrowException::createTypeError(m_resolver->getScriptState()->isolate(), error.message));
|
| } else {
|
| - m_resolver->reject(ServiceWorkerError::take(m_resolver.get(), error));
|
| + m_resolver->reject(ServiceWorkerErrorForUpdate::take(m_resolver.get(), error));
|
| }
|
| }
|
|
|
|
|