| Index: Source/modules/performance/WorkerGlobalScopePerformance.cpp
|
| diff --git a/Source/modules/performance/WorkerGlobalScopePerformance.cpp b/Source/modules/performance/WorkerGlobalScopePerformance.cpp
|
| index 1ecd5be35c3ea0087b287beb279a106a4b2eceb0..e0c3b7d5c7f35bcca34cd50dd900c1367bb0acf9 100644
|
| --- a/Source/modules/performance/WorkerGlobalScopePerformance.cpp
|
| +++ b/Source/modules/performance/WorkerGlobalScopePerformance.cpp
|
| @@ -55,7 +55,7 @@ WorkerGlobalScopePerformance& WorkerGlobalScopePerformance::from(WorkerGlobalSco
|
| WorkerGlobalScopePerformance* supplement = static_cast<WorkerGlobalScopePerformance*>(WorkerSupplement::from(context, supplementName()));
|
| if (!supplement) {
|
| supplement = new WorkerGlobalScopePerformance();
|
| - provideTo(context, supplementName(), adoptPtr(supplement));
|
| + provideTo(context, supplementName(), adoptPtrWillBeNoop(supplement));
|
| }
|
| return *supplement;
|
| }
|
| @@ -72,4 +72,9 @@ WorkerPerformance* WorkerGlobalScopePerformance::performance()
|
| return m_performance.get();
|
| }
|
|
|
| +void WorkerGlobalScopePerformance::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_performance);
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|