Index: runtime/vm/gc_sweeper.cc |
diff --git a/runtime/vm/gc_sweeper.cc b/runtime/vm/gc_sweeper.cc |
index 4d714bafd266da0040889afed0e76f7ae20660da..962255e1274b9bcc930c40d59392b02e32f84991 100644 |
--- a/runtime/vm/gc_sweeper.cc |
+++ b/runtime/vm/gc_sweeper.cc |
@@ -119,7 +119,7 @@ class SweeperTask : public ThreadPool::Task { |
ASSERT(result); |
{ |
Thread* thread = Thread::Current(); |
- TimelineDurationScope tds(thread, Timeline::GetGCStream(), "SweeperTask"); |
+ TIMELINE_FUNCTION_GC_DURATION(thread, "SweeperTask"); |
GCSweeper sweeper; |
HeapPage* page = first_; |