| Index: third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp
|
| diff --git a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp
|
| index 1c51dc52e08e784c3d24fb0355da375322dd22be..07113eda8558a048209bfe1c09157acbcd555473 100644
|
| --- a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp
|
| +++ b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp
|
| @@ -10,6 +10,7 @@
|
| #include "bindings/core/v8/ScriptState.h"
|
| #include "core/dom/DOMException.h"
|
| #include "core/dom/ExceptionCode.h"
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/inspector/ConsoleMessage.h"
|
| #include "modules/cachestorage/CacheStorageError.h"
|
| #include "modules/fetch/Request.h"
|
| @@ -28,7 +29,7 @@
|
| }
|
|
|
| bool CommonChecks(ScriptState* script_state, ExceptionState& exception_state) {
|
| - ExecutionContext* execution_context = script_state->GetExecutionContext();
|
| + ExecutionContext* execution_context = ExecutionContext::From(script_state);
|
| // FIXME: May be null due to worker termination: http://crbug.com/413518.
|
| if (!execution_context)
|
| return false;
|
|
|