| Index: third_party/WebKit/Source/modules/quota/DeprecatedStorageQuota.cpp
|
| diff --git a/third_party/WebKit/Source/modules/quota/DeprecatedStorageQuota.cpp b/third_party/WebKit/Source/modules/quota/DeprecatedStorageQuota.cpp
|
| index ed0f0e4f94f0af9b65690b455622ea94a2d5559f..fd66c2e5e0a27cac992a4f1fc30e4ee53c14b96a 100644
|
| --- a/third_party/WebKit/Source/modules/quota/DeprecatedStorageQuota.cpp
|
| +++ b/third_party/WebKit/Source/modules/quota/DeprecatedStorageQuota.cpp
|
| @@ -55,7 +55,7 @@
|
| ScriptState* script_state,
|
| StorageUsageCallback* success_callback,
|
| StorageErrorCallback* error_callback) {
|
| - ExecutionContext* execution_context = script_state->GetExecutionContext();
|
| + ExecutionContext* execution_context = ExecutionContext::From(script_state);
|
| DCHECK(execution_context);
|
|
|
| WebStorageQuotaType storage_type = static_cast<WebStorageQuotaType>(type_);
|
| @@ -89,7 +89,7 @@
|
| unsigned long long new_quota_in_bytes,
|
| StorageQuotaCallback* success_callback,
|
| StorageErrorCallback* error_callback) {
|
| - ExecutionContext* execution_context = script_state->GetExecutionContext();
|
| + ExecutionContext* execution_context = ExecutionContext::From(script_state);
|
| DCHECK(execution_context);
|
|
|
| WebStorageQuotaType storage_type = static_cast<WebStorageQuotaType>(type_);
|
|
|