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:
parent
8e7fbd604c
commit
9602a9aed9
1 changed files with 4 additions and 4 deletions
|
@ -27,14 +27,14 @@ scoped_ptr<ContentClient> MainDelegate::CreateContentClient() {
|
||||||
bool MainDelegate::BasicStartupComplete(int* exit_code) {
|
bool MainDelegate::BasicStartupComplete(int* exit_code) {
|
||||||
content_client_ = CreateContentClient().Pass();
|
content_client_ = CreateContentClient().Pass();
|
||||||
SetContentClient(content_client_.get());
|
SetContentClient(content_client_.get());
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainDelegate::PreSandboxStartup() {
|
|
||||||
#if defined(OS_MACOSX)
|
#if defined(OS_MACOSX)
|
||||||
OverrideChildProcessPath();
|
OverrideChildProcessPath();
|
||||||
OverrideFrameworkBundlePath();
|
OverrideFrameworkBundlePath();
|
||||||
#endif
|
#endif
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainDelegate::PreSandboxStartup() {
|
||||||
InitializeResourceBundle();
|
InitializeResourceBundle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue