Index: third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp |
diff --git a/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp b/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp |
index f1cd996f98f59a5d757ce3500d955ab90893971f..7759069320f6ddd685cc3a251813da98e99b7ed4 100644 |
--- a/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp |
+++ b/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp |
@@ -16,6 +16,7 @@ |
#include "bindings/modules/v8/V8Request.h" |
#include "bindings/modules/v8/V8Response.h" |
#include "core/dom/Document.h" |
+#include "core/dom/ExecutionContext.h" |
#include "core/frame/Frame.h" |
#include "core/testing/DummyPageHolder.h" |
#include "modules/fetch/BodyStreamBuffer.h" |
@@ -244,7 +245,7 @@ |
return ToScriptStateForMainWorld(page_->GetDocument().GetFrame()); |
} |
ExecutionContext* GetExecutionContext() { |
- return GetScriptState()->GetExecutionContext(); |
+ return ExecutionContext::From(GetScriptState()); |
} |
v8::Isolate* GetIsolate() { return GetScriptState()->GetIsolate(); } |
v8::Local<v8::Context> GetContext() { return GetScriptState()->GetContext(); } |