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

Unified Diff: Source/modules/quota/StorageInfo.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/NavigatorStorageQuota.h ('k') | Source/modules/quota/StorageInfo.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/StorageInfo.h
diff --git a/Source/modules/quota/StorageInfo.h b/Source/modules/quota/StorageInfo.h
index 279faf5e7b61b6d83be36fd73f0ed47fd718572f..8244f9f1be2e370c55bf41645543d0f365db00c7 100644
--- a/Source/modules/quota/StorageInfo.h
+++ b/Source/modules/quota/StorageInfo.h
@@ -33,17 +33,14 @@
#include "bindings/v8/ScriptWrappable.h"
#include "platform/heap/Handle.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
-#include "wtf/RefPtr.h"
namespace WebCore {
-class StorageInfo FINAL : public RefCountedWillBeGarbageCollectedFinalized<StorageInfo>, public ScriptWrappable {
+class StorageInfo FINAL : public GarbageCollectedFinalized<StorageInfo>, public ScriptWrappable {
public:
- static PassRefPtrWillBeRawPtr<StorageInfo> create(unsigned long long usage, unsigned long long quota)
+ static StorageInfo* create(unsigned long long usage, unsigned long long quota)
{
- return adoptRefWillBeNoop(new StorageInfo(usage, quota));
+ return new StorageInfo(usage, quota);
}
unsigned long long usage() const { return m_usage; }
« no previous file with comments | « Source/modules/quota/NavigatorStorageQuota.h ('k') | Source/modules/quota/StorageInfo.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698