Index: runtime/vm/profiler_test.cc |
diff --git a/runtime/vm/profiler_test.cc b/runtime/vm/profiler_test.cc |
index 12c21d1e95ad6cc928cced0b00a95443ddd5beff..ca1df17d8e0738e2f7c51d20398239afa05b5206 100644 |
--- a/runtime/vm/profiler_test.cc |
+++ b/runtime/vm/profiler_test.cc |
@@ -846,7 +846,7 @@ TEST_CASE(Profiler_ClassAllocation) { |
// TODO(johnmccutchan): Hookup native symbol resolver on Windows. |
EXPECT_SUBSTRING("[Native]", walker.CurrentName()); |
#else |
- EXPECT_SUBSTRING("dart::Profiler::RecordAllocation", walker.CurrentName()); |
+ EXPECT_SUBSTRING("dart::Profiler::SampleAllocation", walker.CurrentName()); |
#endif |
EXPECT(!walker.Down()); |
} |