| Index: chromecast/browser/cast_browser_main_parts.cc
|
| diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc
|
| index 92e3a48da796c22c47519a4cbed3bbd7a11b9856..137b6189a4465a882fb3c301e79acfff3141ef7d 100644
|
| --- a/chromecast/browser/cast_browser_main_parts.cc
|
| +++ b/chromecast/browser/cast_browser_main_parts.cc
|
| @@ -299,7 +299,7 @@ void CastBrowserMainParts::ToolkitInitialized() {
|
| #endif
|
| }
|
|
|
| -int CastBrowserMainParts::PreCreateThreads() {
|
| +int CastBrowserMainParts::PreCreateThreadsBegin() {
|
| #if defined(OS_ANDROID)
|
| // GPU process is started immediately after threads are created, requiring
|
| // CrashDumpManager to be initialized beforehand.
|
| @@ -340,6 +340,8 @@ void CastBrowserMainParts::PreMainMessageLoopRun() {
|
| // Set GL strings so GPU config code can make correct feature blacklisting/
|
| // whitelisting decisions.
|
| // Note: SetGLStrings MUST be called after GpuDataManager::Initialize.
|
| + // TODO(j.isorce) move SetGLStrings call to PreCreateThreadsEnd, i.e. before
|
| + // launching the gpu process.
|
| scoped_ptr<CastSysInfo> sys_info = CreateSysInfo();
|
| content::GpuDataManager::GetInstance()->SetGLStrings(
|
| sys_info->GetGlVendor(), sys_info->GetGlRenderer(),
|
|
|