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 91b13cef9f7d444841170c1d41f28f7a79b79e84..66a79ba395807208aff21ab5e9c664ac557ffc63 100644 |
--- a/chromecast/browser/cast_browser_main_parts.cc |
+++ b/chromecast/browser/cast_browser_main_parts.cc |
@@ -275,6 +275,7 @@ int CastBrowserMainParts::PreCreateThreads() { |
} |
void CastBrowserMainParts::PreMainMessageLoopRun() { |
+#if !defined(OS_ANDROID) |
// Set GL strings so GPU config code can make correct feature blacklisting/ |
// whitelisting decisions. |
// Note: SetGLStrings MUST be called after GpuDataManager::Initialize. |
@@ -282,6 +283,7 @@ void CastBrowserMainParts::PreMainMessageLoopRun() { |
content::GpuDataManager::GetInstance()->SetGLStrings( |
sys_info->GetGlVendor(), sys_info->GetGlRenderer(), |
sys_info->GetGlVersion()); |
+#endif // !defined(OS_ANDROID) |
scoped_refptr<PrefRegistrySimple> pref_registry(new PrefRegistrySimple()); |
metrics::RegisterPrefs(pref_registry.get()); |