mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fix assertion in InitializeICU on launch
We have to tell Chromium about our framework bundle earlier in the launch sequence so it can find icudtl.dat. See https://codereview.chromium.org/12470006
This commit is contained in:
@@ -27,14 +27,14 @@ scoped_ptr<ContentClient> MainDelegate::CreateContentClient() {
|
||||
bool MainDelegate::BasicStartupComplete(int* exit_code) {
|
||||
content_client_ = CreateContentClient().Pass();
|
||||
SetContentClient(content_client_.get());
|
||||
return false;
|
||||
}
|
||||
|
||||
void MainDelegate::PreSandboxStartup() {
|
||||
#if defined(OS_MACOSX)
|
||||
OverrideChildProcessPath();
|
||||
OverrideFrameworkBundlePath();
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
void MainDelegate::PreSandboxStartup() {
|
||||
InitializeResourceBundle();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user