Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1207)

Unified Diff: third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp

Issue 2656343002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Few more Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/StorageQuotaClientImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0ced62c9e022f97534c259bb1ce0767d2a755eb9..c844aff22deba34dffe0562e93ad3d547de66690 100644
--- a/third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp
+++ b/third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp
@@ -54,11 +54,12 @@ StorageQuotaClientImpl::StorageQuotaClientImpl() {}
StorageQuotaClientImpl::~StorageQuotaClientImpl() {}
-void StorageQuotaClientImpl::requestQuota(ExecutionContext* executionContext,
+void StorageQuotaClientImpl::requestQuota(ScriptState* scriptState,
WebStorageQuotaType storageType,
unsigned long long newQuotaInBytes,
StorageQuotaCallback* successCallback,
StorageErrorCallback* errorCallback) {
+ ExecutionContext* executionContext = scriptState->getExecutionContext();
DCHECK(executionContext);
if (executionContext->isDocument()) {
« no previous file with comments | « third_party/WebKit/Source/web/StorageQuotaClientImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698