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

Unified Diff: Source/modules/quota/StorageQuotaCallbacksImpl.h

Issue 676183002: Oilpan: simplify quota storage callbacks objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « Source/modules/quota/StorageQuota.cpp ('k') | Source/platform/StorageQuotaCallbacks.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/StorageQuotaCallbacksImpl.h
diff --git a/Source/modules/quota/StorageQuotaCallbacksImpl.h b/Source/modules/quota/StorageQuotaCallbacksImpl.h
index 1bdf0f51343aeaa71211bec63ebd9ebc5f5f10f2..8bf4228bc7bd8320cb2eb0925d8f5076ca589af4 100644
--- a/Source/modules/quota/StorageQuotaCallbacksImpl.h
+++ b/Source/modules/quota/StorageQuotaCallbacksImpl.h
@@ -42,9 +42,9 @@ namespace blink {
class StorageQuotaCallbacksImpl final : public StorageQuotaCallbacks {
WTF_MAKE_NONCOPYABLE(StorageQuotaCallbacksImpl);
public:
- static PassOwnPtrWillBeRawPtr<StorageQuotaCallbacksImpl> create(PassRefPtr<ScriptPromiseResolver> resolver)
+ static StorageQuotaCallbacksImpl* create(PassRefPtr<ScriptPromiseResolver> resolver)
{
- return adoptPtrWillBeNoop(new StorageQuotaCallbacksImpl(resolver));
+ return new StorageQuotaCallbacksImpl(resolver);
}
virtual ~StorageQuotaCallbacksImpl();
@@ -54,7 +54,7 @@ public:
virtual void didFail(WebStorageQuotaError) override;
private:
- StorageQuotaCallbacksImpl(PassRefPtr<ScriptPromiseResolver>);
+ explicit StorageQuotaCallbacksImpl(PassRefPtr<ScriptPromiseResolver>);
RefPtr<ScriptPromiseResolver> m_resolver;
};
« no previous file with comments | « Source/modules/quota/StorageQuota.cpp ('k') | Source/platform/StorageQuotaCallbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698