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

Unified Diff: Source/modules/performance/WorkerGlobalScopePerformance.h

Issue 178663004: Oilpan: move WorkerGlobalScope to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove redundant include 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/performance/WorkerGlobalScopePerformance.h
diff --git a/Source/modules/performance/WorkerGlobalScopePerformance.h b/Source/modules/performance/WorkerGlobalScopePerformance.h
index ee125329f763c0c9aa4a6da1cc902416d720c46f..6cd76c9ec7a71368283f604e53606c5ec87cb55f 100644
--- a/Source/modules/performance/WorkerGlobalScopePerformance.h
+++ b/Source/modules/performance/WorkerGlobalScopePerformance.h
@@ -37,20 +37,22 @@
namespace WebCore {
-class WorkerGlobalScopePerformance FINAL : public WorkerSupplement {
+class WorkerGlobalScopePerformance FINAL : public NoBaseWillBeGarbageCollected<WorkerGlobalScopePerformance>, public WorkerSupplement {
public:
virtual ~WorkerGlobalScopePerformance();
static WorkerGlobalScopePerformance& from(WorkerGlobalScope&);
static WorkerPerformance* performance(WorkerGlobalScope&);
+ virtual void trace(Visitor*);
+
private:
WorkerGlobalScopePerformance();
WorkerPerformance* performance();
static const char* supplementName();
- RefPtrWillBePersistent<WorkerPerformance> m_performance;
+ RefPtrWillBeMember<WorkerPerformance> m_performance;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698