diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 17:59:42 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 17:59:42 +0000 |
commit | a61508e5901304418d0c861a79b788c6fd74a997 (patch) | |
tree | c1f48290c209f8ac3726b3e734cb8b9404816ab3 /chrome/test/gpu | |
parent | a37d7ec1af822aa3524308c58c5160e3bf117965 (diff) | |
download | chromium_src-a61508e5901304418d0c861a79b788c6fd74a997.zip chromium_src-a61508e5901304418d0c861a79b788c6fd74a997.tar.gz chromium_src-a61508e5901304418d0c861a79b788c6fd74a997.tar.bz2 |
Make GPUInfo a struct, which it should be according to the C++ guidelines. This makes it easy to write automated serilization code for it.
Review URL: http://codereview.chromium.org/6621057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77300 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/gpu')
-rw-r--r-- | chrome/test/gpu/gpu_pixel_browsertest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/gpu/gpu_pixel_browsertest.cc b/chrome/test/gpu/gpu_pixel_browsertest.cc index 6dab90b..5a6cebf 100644 --- a/chrome/test/gpu/gpu_pixel_browsertest.cc +++ b/chrome/test/gpu/gpu_pixel_browsertest.cc @@ -122,7 +122,7 @@ bool CollectGPUInfo(GPUInfo* client_info) { if (!gpu_host_shim) return false; GPUInfo info = gpu_host_shim->gpu_info(); - if (info.level() == GPUInfo::kUninitialized) { + if (info.level == GPUInfo::kUninitialized) { GPUInfoCollectedObserver observer(gpu_host_shim); gpu_host_shim->CollectGpuInfoAsynchronously(GPUInfo::kPartial); ui_test_utils::RunMessageLoop(); @@ -224,7 +224,7 @@ class GpuPixelBrowserTest : public InProcessBrowserTest { return false; } img_name = base::StringPrintf("%s_%s_%04x-%04x.png", - img_name.c_str(), os_label, info.vendor_id(), info.device_id()); + img_name.c_str(), os_label, info.vendor_id, info.device_id); } else { img_name = base::StringPrintf("%s_%s_mesa.png", img_name.c_str(), os_label); |