提交 cf3424ab 编写于 作者: A Adam Barth 提交者: GitHub

Update ICU initialization on Fuchsia (#3695)

The new pattern is needed to support the migration to service namespaces.
上级 0d94214d
...@@ -50,7 +50,7 @@ App::App() { ...@@ -50,7 +50,7 @@ App::App() {
io_task_runner // IO io_task_runner // IO
)); ));
if (!icu_data::Initialize(context_->environment_services().get())) { if (!icu_data::Initialize(context_.get())) {
FTL_LOG(ERROR) << "Could not initialize ICU data."; FTL_LOG(ERROR) << "Could not initialize ICU data.";
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册