Index: runtime/vm/object_test.cc |
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc |
index c7ddd97e67df40f47f1fdbd625667a0a1e528236..b18d19740162491cc409343dc206dfe84391227a 100644 |
--- a/runtime/vm/object_test.cc |
+++ b/runtime/vm/object_test.cc |
@@ -3932,7 +3932,8 @@ TEST_CASE(FindInvocationDispatcherFunctionIndex) { |
Function& invocation_dispatcher = Function::Handle(); |
invocation_dispatcher ^= |
cls.GetInvocationDispatcher(invocation_dispatcher_name, args_desc, |
- RawFunction::kNoSuchMethodDispatcher); |
+ RawFunction::kNoSuchMethodDispatcher, |
+ true /* create_if_absent */); |
EXPECT(!invocation_dispatcher.IsNull()); |
// Get index to function. |
intptr_t invocation_dispatcher_index = |