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

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

Issue 294953002: Oilpan: enable Oilpan by default in modules/quota. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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/DeprecatedStorageInfo.idl ('k') | Source/modules/quota/DeprecatedStorageQuota.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/DeprecatedStorageQuota.h
diff --git a/Source/modules/quota/DeprecatedStorageQuota.h b/Source/modules/quota/DeprecatedStorageQuota.h
index aad45f430f43384660cef7ab2bb8f377628f2dfb..f1959f1a5b98f8f258231080d3d296b819b0fc0f 100644
--- a/Source/modules/quota/DeprecatedStorageQuota.h
+++ b/Source/modules/quota/DeprecatedStorageQuota.h
@@ -34,8 +34,6 @@
#include "bindings/v8/ScriptWrappable.h"
#include "platform/heap/Handle.h"
#include "wtf/PassOwnPtr.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
namespace WebCore {
@@ -44,16 +42,16 @@ class StorageErrorCallback;
class StorageQuotaCallback;
class StorageUsageCallback;
-class DeprecatedStorageQuota : public RefCountedWillBeGarbageCollectedFinalized<DeprecatedStorageQuota>, public ScriptWrappable {
+class DeprecatedStorageQuota : public GarbageCollectedFinalized<DeprecatedStorageQuota>, public ScriptWrappable {
public:
enum Type {
Temporary,
Persistent,
};
- static PassRefPtrWillBeRawPtr<DeprecatedStorageQuota> create(Type type)
+ static DeprecatedStorageQuota* create(Type type)
{
- return adoptRefWillBeNoop(new DeprecatedStorageQuota(type));
+ return new DeprecatedStorageQuota(type);
}
void queryUsageAndQuota(ExecutionContext*, PassOwnPtr<StorageUsageCallback>, PassOwnPtr<StorageErrorCallback>);
« no previous file with comments | « Source/modules/quota/DeprecatedStorageInfo.idl ('k') | Source/modules/quota/DeprecatedStorageQuota.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698