From 07b230a88e3544f5a582cda59e5e4db79c86f702 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Thu, 4 Oct 2018 15:55:18 -0700 Subject: [PATCH] Add the isolate name server to the set of native APIs available on secondary isolates (flutter/engine#6444) --- engine/src/flutter/lib/ui/dart_ui.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/flutter/lib/ui/dart_ui.cc b/engine/src/flutter/lib/ui/dart_ui.cc index 0d1e18c645..0fc867834c 100644 --- a/engine/src/flutter/lib/ui/dart_ui.cc +++ b/engine/src/flutter/lib/ui/dart_ui.cc @@ -89,6 +89,7 @@ void DartUI::InitForGlobal() { // Secondary isolates do not provide UI-related APIs. g_natives_secondary = new tonic::DartLibraryNatives(); DartRuntimeHooks::RegisterNatives(g_natives_secondary); + IsolateNameServerNatives::RegisterNatives(g_natives_secondary); } }