Index: runtime/vm/timeline_test.cc |
diff --git a/runtime/vm/timeline_test.cc b/runtime/vm/timeline_test.cc |
index 01d0c6a453af5e009c9c6eef5d9b04a710104c10..db764ee39a264fb9da1c69474cde99ad721232da 100644 |
--- a/runtime/vm/timeline_test.cc |
+++ b/runtime/vm/timeline_test.cc |
@@ -237,7 +237,7 @@ TEST_CASE(TimelineEventBufferPrintJSON) { |
// Count the number of each event type seen. |
-class EventCounterRecorder : public TimelineEventStreamingRecorder { |
+class EventCounterRecorder : public TimelineEventCallbackRecorder { |
public: |
EventCounterRecorder() { |
for (intptr_t i = 0; i < TimelineEvent::kNumEventTypes; i++) { |
@@ -245,7 +245,7 @@ class EventCounterRecorder : public TimelineEventStreamingRecorder { |
} |
} |
- void StreamEvent(TimelineEvent* event) { |
+ void OnEvent(TimelineEvent* event) { |
counts_[event->event_type()]++; |
} |
@@ -258,7 +258,7 @@ class EventCounterRecorder : public TimelineEventStreamingRecorder { |
}; |
-TEST_CASE(TimelineEventStreamingRecorderBasic) { |
+TEST_CASE(TimelineEventCallbackRecorderBasic) { |
EventCounterRecorder* recorder = new EventCounterRecorder(); |
TimelineRecorderOverride override(recorder); |