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

Unified Diff: Source/modules/quota/DeprecatedStorageInfo.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/DOMWindowQuota.h ('k') | Source/modules/quota/DeprecatedStorageInfo.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/DeprecatedStorageInfo.h
diff --git a/Source/modules/quota/DeprecatedStorageInfo.h b/Source/modules/quota/DeprecatedStorageInfo.h
index 39af1bf4ac53abb91d694bccf21ab9cb80149837..74c67e2bab106565d9d3c339a1cd24ce668a8d70 100644
--- a/Source/modules/quota/DeprecatedStorageInfo.h
+++ b/Source/modules/quota/DeprecatedStorageInfo.h
@@ -35,9 +35,6 @@
#include "modules/quota/DeprecatedStorageQuota.h"
#include "platform/heap/Handle.h"
#include "wtf/PassOwnPtr.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
-#include "wtf/RefPtr.h"
namespace WebCore {
@@ -46,16 +43,16 @@ class StorageErrorCallback;
class StorageQuotaCallback;
class StorageUsageCallback;
-class DeprecatedStorageInfo : public RefCountedWillBeGarbageCollectedFinalized<DeprecatedStorageInfo>, public ScriptWrappable {
+class DeprecatedStorageInfo : public GarbageCollectedFinalized<DeprecatedStorageInfo>, public ScriptWrappable {
public:
enum {
TEMPORARY,
PERSISTENT,
};
- static PassRefPtrWillBeRawPtr<DeprecatedStorageInfo> create()
+ static DeprecatedStorageInfo* create()
{
- return adoptRefWillBeNoop(new DeprecatedStorageInfo());
+ return new DeprecatedStorageInfo();
}
void queryUsageAndQuota(ExecutionContext*, int storageType, PassOwnPtr<StorageUsageCallback>, PassOwnPtr<StorageErrorCallback>);
@@ -71,8 +68,8 @@ private:
DeprecatedStorageQuota* getStorageQuota(int storageType);
- mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_temporaryStorage;
- mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_persistentStorage;
+ mutable Member<DeprecatedStorageQuota> m_temporaryStorage;
+ mutable Member<DeprecatedStorageQuota> m_persistentStorage;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/quota/DOMWindowQuota.h ('k') | Source/modules/quota/DeprecatedStorageInfo.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698