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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 10891013: Make GpuDataManager thread safe. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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: chrome/browser/chrome_browser_main.cc
===================================================================
--- chrome/browser/chrome_browser_main.cc (revision 153783)
+++ chrome/browser/chrome_browser_main.cc (working copy)
@@ -402,7 +402,7 @@
// Load GPU Blacklist, collect preliminary gpu info, and compute preliminary
// gpu feature flags.
void InitializeGpuDataManager(const CommandLine& parsed_command_line) {
- content::GpuDataManager::GetInstance();
+ content::GpuDataManager::GetInstance()->InitializeGpuInfo();
if (parsed_command_line.HasSwitch(switches::kSkipGpuDataLoading) ||
parsed_command_line.HasSwitch(switches::kIgnoreGpuBlacklist)) {
return;

Powered by Google App Engine
This is Rietveld 408576698