Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index f9961833339b3babc03802d577c54fec336bc4cf..c5940a5ee5d27ef4e6fd76b65e4f99dec3583e89 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -9116,6 +9116,8 @@ void Library::InitNativeWrappersLibrary(Isolate* isolate) { |
const String& native_flds_lib_url = Symbols::DartNativeWrappers(); |
const Library& native_flds_lib = Library::Handle( |
Library::NewLibraryHelper(native_flds_lib_url, false)); |
+ const String& native_flds_lib_name = Symbols::DartNativeWrappersLibName(); |
+ native_flds_lib.SetName(native_flds_lib_name); |
native_flds_lib.Register(); |
isolate->object_store()->set_native_wrappers_library(native_flds_lib); |
static const char* const kNativeWrappersClass = "NativeFieldWrapperClass"; |