Index: third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp b/third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp |
index bc3ea5033512b3e98dd7bcfbb1e5b9b1b7b1a287..29870a45d572efb567eb7ee6752d50a488ddcfc8 100644 |
--- a/third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp |
@@ -77,8 +77,8 @@ ScriptPromise StorageQuotaClientImpl::requestPersistentQuota(ScriptState* script |
ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
- if (scriptState->executionContext()->isDocument()) { |
- Document* document = toDocument(scriptState->executionContext()); |
+ if (scriptState->getExecutionContext()->isDocument()) { |
+ Document* document = toDocument(scriptState->getExecutionContext()); |
WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame()); |
StorageQuotaCallbacks* callbacks = StorageQuotaCallbacksImpl::create(resolver); |
webFrame->client()->requestStorageQuota(WebStorageQuotaTypePersistent, newQuotaInBytes, callbacks); |