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

Unified Diff: chrome/browser/web_resource/gpu_blacklist_updater.cc

Issue 7633038: Relax software rendering list parsing. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « no previous file | content/browser/gpu/gpu_blacklist.h » ('j') | content/browser/gpu/gpu_blacklist.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_resource/gpu_blacklist_updater.cc
===================================================================
--- chrome/browser/web_resource/gpu_blacklist_updater.cc (revision 98082)
+++ chrome/browser/web_resource/gpu_blacklist_updater.cc (working copy)
@@ -104,7 +104,7 @@
IDR_GPU_BLACKLIST));
GpuBlacklist* built_in_list = new GpuBlacklist(GetChromeVersionString());
bool succeed = built_in_list->LoadGpuBlacklist(
- gpu_blacklist_json.as_string(), true);
+ gpu_blacklist_json.as_string(), GpuBlacklist::kCurrentOsOnly);
DCHECK(succeed);
GpuDataManager::GetInstance()->SetBuiltInGpuBlacklist(built_in_list);
@@ -121,7 +121,9 @@
scoped_ptr<GpuBlacklist> gpu_blacklist(
new GpuBlacklist(GetChromeVersionString()));
- if (gpu_blacklist->LoadGpuBlacklist(gpu_blacklist_cache, true)) {
+ bool success = gpu_blacklist->LoadGpuBlacklist(
+ gpu_blacklist_cache, GpuBlacklist::kCurrentOsOnly);
+ if (success) {
GpuDataManager::GetInstance()->UpdateGpuBlacklist(
gpu_blacklist.release(), preliminary);
}
« no previous file with comments | « no previous file | content/browser/gpu/gpu_blacklist.h » ('j') | content/browser/gpu/gpu_blacklist.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698