Index: mojo/runner/host/child_process.cc |
diff --git a/mojo/runner/host/child_process.cc b/mojo/runner/host/child_process.cc |
index 659b508ca1645819f87de01905dc24f9b8679c5f..f0bfd21bedaca18aa6a81f9002b3db8e64852769 100644 |
--- a/mojo/runner/host/child_process.cc |
+++ b/mojo/runner/host/child_process.cc |
@@ -361,7 +361,8 @@ int ChildProcessMain() { |
command_line.GetSwitchValuePath(switches::kChildProcess)); |
base::i18n::InitializeICU(); |
- CallLibraryEarlyInitialization(app_library); |
+ if (app_library) |
+ CallLibraryEarlyInitialization(app_library); |
#if defined(OS_LINUX) && !defined(OS_ANDROID) |
if (command_line.HasSwitch(switches::kEnableSandbox)) |
sandbox = InitializeSandbox(); |