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

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

Issue 158133003: Move quota module to oilpan (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert having empty destructors in header files. Created 6 years, 10 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
Index: Source/modules/quota/StorageQuota.h
diff --git a/Source/modules/quota/StorageQuota.h b/Source/modules/quota/StorageQuota.h
index e1850a24ac2d1a78a9212e50fe541033c52f4938..b3d3bed09dddbe196f94707c191007747d2bcc09 100644
--- a/Source/modules/quota/StorageQuota.h
+++ b/Source/modules/quota/StorageQuota.h
@@ -33,6 +33,7 @@
#include "bindings/v8/ScriptPromise.h"
#include "bindings/v8/ScriptWrappable.h"
+#include "heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@ -41,11 +42,12 @@ namespace WebCore {
class ExecutionContext;
-class StorageQuota FINAL : public RefCounted<StorageQuota>, public ScriptWrappable {
+class StorageQuota FINAL : public RefCountedWillBeGarbageCollectedFinalized<StorageQuota>, public ScriptWrappable {
+ DECLARE_GC_INFO;
public:
- static PassRefPtr<StorageQuota> create()
+ static PassRefPtrWillBeRawPtr<StorageQuota> create()
{
- return adoptRef(new StorageQuota());
+ return adoptRefWillBeNoop(new StorageQuota());
}
Vector<String> supportedTypes() const;
@@ -55,6 +57,8 @@ public:
~StorageQuota();
+ void trace(Visitor*) { }
+
private:
StorageQuota();
};

Powered by Google App Engine
This is Rietveld 408576698