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

Unified Diff: Source/web/StorageQuotaClientImpl.cpp

Issue 783423003: Make ScriptPromiseResolver RefCountedWillBeRefCountedGarbageCollected. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WIP: 1st trial Created 6 years 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
Index: Source/web/StorageQuotaClientImpl.cpp
diff --git a/Source/web/StorageQuotaClientImpl.cpp b/Source/web/StorageQuotaClientImpl.cpp
index b8faf70685b240a08db5dd55b95530b7d158bd54..68e2b5385885806de3eacf063f7d708b0406912a 100644
--- a/Source/web/StorageQuotaClientImpl.cpp
+++ b/Source/web/StorageQuotaClientImpl.cpp
@@ -75,7 +75,7 @@ void StorageQuotaClientImpl::requestQuota(ExecutionContext* executionContext, We
ScriptPromise StorageQuotaClientImpl::requestPersistentQuota(ScriptState* scriptState, unsigned long long newQuotaInBytes)
{
- RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
+ RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
ScriptPromise promise = resolver->promise();
if (scriptState->executionContext()->isDocument()) {

Powered by Google App Engine
This is Rietveld 408576698