Index: runtime/vm/metrics_test.cc |
diff --git a/runtime/vm/metrics_test.cc b/runtime/vm/metrics_test.cc |
index 90827392ca5597d3c2f7ac944e1b2aef8f8ed851..cb204b91848b8ba66054727bb39230e830ed9e0b 100644 |
--- a/runtime/vm/metrics_test.cc |
+++ b/runtime/vm/metrics_test.cc |
@@ -46,9 +46,9 @@ UNIT_TEST_CASE(Metric_OnDemand) { |
Dart_CreateIsolate( |
NULL, NULL, bin::isolate_snapshot_buffer, NULL, NULL, NULL); |
{ |
- Isolate* isolate = Isolate::Current(); |
- StackZone zone(isolate); |
- HANDLESCOPE(isolate); |
+ Thread* thread = Thread::Current(); |
+ StackZone zone(thread); |
+ HANDLESCOPE(thread); |
MyMetric metric; |
metric.Init(Isolate::Current(), "a.b.c", "foobar", Metric::kByte); |