| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp
|
| index b2641363fa6b862abc4e88deeb27ee6acc627e45..24e284ff62c80495ef6e75921de67953345bcc86 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp
|
| @@ -34,6 +34,7 @@
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "bindings/core/v8/ScriptState.h"
|
| #include "core/dom/ExceptionCode.h"
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/dom/MessagePort.h"
|
| #include "core/events/Event.h"
|
| #include "modules/EventTargetModules.h"
|
| @@ -64,7 +65,7 @@
|
|
|
| // Disentangle the port in preparation for sending it to the remote context.
|
| MessagePortChannelArray channels = MessagePort::DisentanglePorts(
|
| - script_state->GetExecutionContext(), ports, exception_state);
|
| + ExecutionContext::From(script_state), ports, exception_state);
|
| if (exception_state.HadException())
|
| return;
|
| if (handle_->ServiceWorker()->GetState() == kWebServiceWorkerStateRedundant) {
|
|
|