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

Unified Diff: chrome/browser/gpu_blacklist_unittest.cc

Issue 6346007: Refactor and improve gpu_info_collector: collect information on linux;... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/gpu_blacklist_unittest.cc
===================================================================
--- chrome/browser/gpu_blacklist_unittest.cc (revision 71329)
+++ chrome/browser/gpu_blacklist_unittest.cc (working copy)
@@ -9,13 +9,10 @@
TEST(GpuBlacklistTest, BlacklistLogic) {
GPUInfo gpu_info;
- gpu_info.SetGraphicsInfo(0x10de, // Vendor ID
- 0x0640, // Device ID
- L"1.6.18", // Driver Version
- 0x0114, // Pixel Shader Version
- 0x0114, // Vertex Shader Version
- 0x0201, // GL version,
- true); // can_lose_context
+ gpu_info.SetVideoCardInfo(0x10de, // Vendor ID
+ 0x0640); // Device ID
+ gpu_info.SetDriverInfo("NVIDIA", // Driver vendor
+ "1.6.18"); // Driver Version
gpu_info.SetProgress(GPUInfo::kComplete);
scoped_ptr<Version> os_version(Version::GetVersionFromString("10.6.4"));

Powered by Google App Engine
This is Rietveld 408576698