Index: runtime/vm/debugger_api_impl_test.cc |
diff --git a/runtime/vm/debugger_api_impl_test.cc b/runtime/vm/debugger_api_impl_test.cc |
index 2426b3fd64f7c11da63886856b10a5cfa017ec0a..d73e812806265e542cd748fffc451584ad37a1d6 100644 |
--- a/runtime/vm/debugger_api_impl_test.cc |
+++ b/runtime/vm/debugger_api_impl_test.cc |
@@ -963,7 +963,7 @@ TEST_CASE(Debug_InspectObject) { |
EXPECT_STREQ("blah blah", value); |
// Check static field of B's superclass. |
- Dart_Handle class_A = Dart_GetSuperclass(class_B); |
+ Dart_Handle class_A = Dart_GetSupertype(class_B); |
EXPECT_VALID(class_A); |
EXPECT(!Dart_IsNull(class_A)); |
fields = Dart_GetStaticFields(class_A); |