Index: content/test/gpu/gpu_tests/depth_capture_integration_test.py |
diff --git a/content/test/gpu/gpu_tests/depth_capture_integration_test.py b/content/test/gpu/gpu_tests/depth_capture_integration_test.py |
index 9f3b6693217bcef364868b6a41bd0371a3faf489..00e93597ef841b42f2d46a5f7d3bf79d32430104 100644 |
--- a/content/test/gpu/gpu_tests/depth_capture_integration_test.py |
+++ b/content/test/gpu/gpu_tests/depth_capture_integration_test.py |
@@ -77,11 +77,11 @@ class DepthCaptureIntegrationTest(gpu_integration_test.GpuIntegrationTest): |
url = self.UrlOfStaticFilePath(test_path) |
tab = self.tab |
tab.Navigate(url, script_to_evaluate_on_commit=harness_script) |
- tab.action_runner.WaitForJavaScriptCondition2( |
+ tab.action_runner.WaitForJavaScriptCondition( |
'domAutomationController._finished', timeout=60) |
- if not tab.EvaluateJavaScript2('domAutomationController._succeeded'): |
+ if not tab.EvaluateJavaScript('domAutomationController._succeeded'): |
self.fail('page indicated test failure:' + |
- tab.EvaluateJavaScript2('domAutomationController._error_msg')) |
+ tab.EvaluateJavaScript('domAutomationController._error_msg')) |
@classmethod |
def _CreateExpectations(cls): |