| Index: content/test/gpu/gpu_tests/gpu_process.py
|
| diff --git a/content/test/gpu/gpu_tests/gpu_process.py b/content/test/gpu/gpu_tests/gpu_process.py
|
| index a27c701594c178945284891d18268a2c76b82880..5dfabdefa6d204cb1e05363e13cb36c28d60cb89 100644
|
| --- a/content/test/gpu/gpu_tests/gpu_process.py
|
| +++ b/content/test/gpu/gpu_tests/gpu_process.py
|
| @@ -30,10 +30,10 @@ class GpuProcessValidator(gpu_test_base.ValidatorBase):
|
| if hasattr(page, 'Validate'):
|
| page.Validate(tab, results)
|
| else:
|
| - has_gpu_process_js = 'chrome.gpuBenchmarking.hasGpuProcess()'
|
| - has_gpu_process = tab.EvaluateJavaScript(has_gpu_process_js)
|
| - if not has_gpu_process:
|
| - raise page_test.Failure('No GPU process detected')
|
| + has_gpu_channel_js = 'chrome.gpuBenchmarking.hasGpuChannel()'
|
| + has_gpu_channel = tab.EvaluateJavaScript(has_gpu_channel_js)
|
| + if not has_gpu_channel:
|
| + raise page_test.Failure('No GPU channel detected')
|
|
|
| class GpuProcess(gpu_test_base.TestBase):
|
| """Tests that accelerated content triggers the creation of a GPU process"""
|
|
|