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 057bd46ccb62c019823d75f97aaaa90c12b6858d..2abd491b89c71d0103046243b240ce6989cf2a77 100644 |
--- a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp |
+++ b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp |
@@ -131,6 +131,7 @@ public: |
{ |
if (!m_resolver->getExecutionContext() || m_resolver->getExecutionContext()->activeDOMObjectsAreStopped()) |
return; |
+ ScriptState::Scope scope(m_resolver->getScriptState()); |
m_resolver->resolve(Response::create(m_resolver->getScriptState(), webResponse)); |
m_resolver.clear(); |
} |