Index: runtime/vm/metrics_test.cc |
diff --git a/runtime/vm/metrics_test.cc b/runtime/vm/metrics_test.cc |
index 3a559baaa9265669226ca9e81621818ec4368307..389237218dc0de9907ea9dcd9c5c83124a663b8b 100644 |
--- a/runtime/vm/metrics_test.cc |
+++ b/runtime/vm/metrics_test.cc |
@@ -16,8 +16,8 @@ namespace dart { |
#ifndef PRODUCT |
UNIT_TEST_CASE(Metric_Simple) { |
- Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_buffer, NULL, NULL, |
- NULL); |
+ Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_data, |
+ bin::core_isolate_snapshot_instructions, NULL, NULL, NULL); |
{ |
Metric metric; |
@@ -45,8 +45,8 @@ class MyMetric : public Metric { |
}; |
UNIT_TEST_CASE(Metric_OnDemand) { |
- Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_buffer, NULL, NULL, |
- NULL); |
+ Dart_CreateIsolate(NULL, NULL, bin::core_isolate_snapshot_data, |
+ bin::core_isolate_snapshot_instructions, NULL, NULL, NULL); |
{ |
Thread* thread = Thread::Current(); |
StackZone zone(thread); |