Index: third_party/WebKit/Source/modules/quota/StorageQuota.cpp |
diff --git a/third_party/WebKit/Source/modules/quota/StorageQuota.cpp b/third_party/WebKit/Source/modules/quota/StorageQuota.cpp |
index 9ec34fece1eea7cbf480f9f15bcc46efc6c2020a..3a92298240e4cb5df064f3a8c961e8660aef52d0 100644 |
--- a/third_party/WebKit/Source/modules/quota/StorageQuota.cpp |
+++ b/third_party/WebKit/Source/modules/quota/StorageQuota.cpp |
@@ -86,7 +86,7 @@ ScriptPromise StorageQuota::queryInfo(ScriptState* scriptState, String type) |
ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
- SecurityOrigin* securityOrigin = scriptState->executionContext()->securityOrigin(); |
+ SecurityOrigin* securityOrigin = scriptState->getExecutionContext()->getSecurityOrigin(); |
if (securityOrigin->isUnique()) { |
resolver->reject(DOMError::create(NotSupportedError)); |
return promise; |
@@ -100,7 +100,7 @@ ScriptPromise StorageQuota::queryInfo(ScriptState* scriptState, String type) |
ScriptPromise StorageQuota::requestPersistentQuota(ScriptState* scriptState, unsigned long long newQuota) |
{ |
- StorageQuotaClient* client = StorageQuotaClient::from(scriptState->executionContext()); |
+ StorageQuotaClient* client = StorageQuotaClient::from(scriptState->getExecutionContext()); |
if (!client) { |
ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |