summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/gpu/gpu_pixel_browsertest.cc4
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 8fcd37e..221448f 100644
--- a/chrome/test/gpu/gpu_pixel_browsertest.cc
+++ b/chrome/test/gpu/gpu_pixel_browsertest.cc
@@ -116,9 +116,9 @@ bool CollectGPUInfo(GPUInfo* client_info) {
if (!gpu_host_shim)
return false;
GPUInfo info = gpu_host_shim->gpu_info();
- if (info.progress() == GPUInfo::kUninitialized) {
+ if (info.level() == GPUInfo::kUninitialized) {
GPUInfoCollectedObserver observer(gpu_host_shim);
- gpu_host_shim->CollectGraphicsInfoAsynchronously();
+ gpu_host_shim->CollectGraphicsInfoAsynchronously(GPUInfo::kPartial);
ui_test_utils::RunMessageLoop();
if (!observer.gpu_info_collected())
return false;