Add the isolate name server to the set of native APIs available on secondary isolates (flutter/engine#6444)

This commit is contained in:
Jason Simmons
2018-10-04 15:55:18 -07:00
committed by GitHub
parent a0615b4ec2
commit 07b230a88e

View File

@@ -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);
}
}