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

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

Issue 178663004: Oilpan: move WorkerGlobalScope to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 9 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/WorkerNavigatorStorageQuota.h
diff --git a/Source/modules/quota/WorkerNavigatorStorageQuota.h b/Source/modules/quota/WorkerNavigatorStorageQuota.h
index a69c1be1d2c8570c81f123c3efa44247528fba02..9f3e66c44620c8b4f2aa3bbb9dc73afe3dfa0210 100644
--- a/Source/modules/quota/WorkerNavigatorStorageQuota.h
+++ b/Source/modules/quota/WorkerNavigatorStorageQuota.h
@@ -39,7 +39,8 @@
namespace WebCore {
-class WorkerNavigatorStorageQuota FINAL : public Supplement<WorkerNavigator> {
+class WorkerNavigatorStorageQuota FINAL : public NoBaseWillBeGarbageCollected<WorkerNavigatorStorageQuota>, public WillBeHeapSupplement<WorkerNavigator> {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerNavigatorStorageQuota);
public:
virtual ~WorkerNavigatorStorageQuota();
static WorkerNavigatorStorageQuota& from(WorkerNavigator&);
@@ -49,12 +50,14 @@ public:
DeprecatedStorageQuota* webkitTemporaryStorage() const;
DeprecatedStorageQuota* webkitPersistentStorage() const;
+ virtual void trace(Visitor*);
+
private:
explicit WorkerNavigatorStorageQuota();
static const char* supplementName();
- mutable RefPtrWillBePersistent<DeprecatedStorageQuota> m_temporaryStorage;
- mutable RefPtrWillBePersistent<DeprecatedStorageQuota> m_persistentStorage;
+ mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_temporaryStorage;
+ mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_persistentStorage;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/performance/WorkerGlobalScopePerformance.cpp ('k') | Source/modules/quota/WorkerNavigatorStorageQuota.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698