| Index: content/test/gpu/gpu_tests/context_lost_integration_test.py
|
| diff --git a/content/test/gpu/gpu_tests/context_lost_integration_test.py b/content/test/gpu/gpu_tests/context_lost_integration_test.py
|
| index 5e9fa06f8161dcdcbbe817055eb8dd3dcf8cc167..c5c4950a6b7f480434f83055ad15f7c0e897e518 100644
|
| --- a/content/test/gpu/gpu_tests/context_lost_integration_test.py
|
| +++ b/content/test/gpu/gpu_tests/context_lost_integration_test.py
|
| @@ -9,8 +9,8 @@ from gpu_tests import gpu_integration_test
|
| from gpu_tests import context_lost_expectations
|
| from gpu_tests import path_util
|
|
|
| +import py_utils
|
| from telemetry.core import exceptions
|
| -from telemetry.core import util
|
|
|
| data_path = os.path.join(
|
| path_util.GetChromiumSrcDir(), 'content', 'test', 'data', 'gpu')
|
| @@ -106,7 +106,7 @@ class ContextLostIntegrationTest(gpu_integration_test.GpuIntegrationTest):
|
|
|
| def _WaitForPageToFinish(self, tab):
|
| try:
|
| - util.WaitFor(lambda: tab.EvaluateJavaScript(
|
| + py_utils.WaitFor(lambda: tab.EvaluateJavaScript(
|
| 'window.domAutomationController._finished'), wait_timeout)
|
| return True
|
| except exceptions.TimeoutException:
|
| @@ -128,7 +128,7 @@ class ContextLostIntegrationTest(gpu_integration_test.GpuIntegrationTest):
|
| # If we're running the GPU process crash test, we need the test
|
| # to have fully reset before crashing the GPU process.
|
| if check_crash_count:
|
| - util.WaitFor(lambda: tab.EvaluateJavaScript(
|
| + py_utils.WaitFor(lambda: tab.EvaluateJavaScript(
|
| 'window.domAutomationController._finished'), wait_timeout)
|
|
|
| # Crash the GPU process.
|
|
|