Index: runtime/vm/bootstrap_natives.cc |
diff --git a/runtime/vm/bootstrap_natives.cc b/runtime/vm/bootstrap_natives.cc |
index 09cb75607951e2f9f91dee7dcf66531374b12f39..d0bef869c66072857cbe4383ad27d1d243fa081c 100644 |
--- a/runtime/vm/bootstrap_natives.cc |
+++ b/runtime/vm/bootstrap_natives.cc |
@@ -133,9 +133,8 @@ void Bootstrap::SetupNativeResolver() { |
library = Library::VMServiceLibrary(); |
ASSERT(!library.IsNull()); |
- library.set_native_entry_resolver( |
- reinterpret_cast<Dart_NativeEntryResolver>( |
- &ServiceIsolate::NativeResolver)); |
+ library.set_native_entry_resolver(resolver); |
+ library.set_native_entry_symbol_resolver(symbol_resolver); |
} |