Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1337)

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 194303002: Blacklist GLX indirect rendering (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/gpu/gpu_process_host.cc
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index b4b6dfdfa1fcbfa70b069c49d2b3f885913ab5a2..9d442338efb3aedcd60e62abb85dd0dfddf42e7b 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -752,6 +752,8 @@ void GpuProcessHost::OnInitialized(bool result, const gpu::GPUInfo& gpu_info) {
if (!initialized_)
GpuDataManagerImpl::GetInstance()->OnGpuProcessInitFailure();
+ else
+ GpuDataManagerImpl::GetInstance()->UpdateGpuInfo(gpu_info);
Ken Russell (switch to Gerrit) 2014/03/11 22:28:41 Why was this "else" branch added? Is there a chanc
Zhenyao Mo 2014/03/11 23:05:31 I don't think this is necessary, as the update wil
}
void GpuProcessHost::OnChannelEstablished(

Powered by Google App Engine
This is Rietveld 408576698