Index: content/test/gpu/gpu_tests/maps.py |
diff --git a/content/test/gpu/gpu_tests/maps.py b/content/test/gpu/gpu_tests/maps.py |
index a30e1256512d594676eb5c274309fbc60b1d6c38..51926a69e6071fddde43f29800a2e22841689d5b 100644 |
--- a/content/test/gpu/gpu_tests/maps.py |
+++ b/content/test/gpu/gpu_tests/maps.py |
@@ -15,7 +15,7 @@ from gpu_tests import maps_expectations |
from gpu_tests import path_util |
from telemetry.core import util |
-from telemetry.page import page_test |
+from telemetry.page import legacy_page_test |
from telemetry import story as story_module |
from telemetry.story import story_set as story_set_module |
@@ -37,10 +37,11 @@ class MapsValidator(cloud_storage_test_base.ValidatorBase): |
MapsValidator.SpinWaitOnRAF(tab, 3) |
if not tab.screenshot_supported: |
- raise page_test.Failure('Browser does not support screenshot capture') |
+ raise legacy_page_test.Failure( |
+ 'Browser does not support screenshot capture') |
screenshot = tab.Screenshot(5) |
if screenshot is None: |
- raise page_test.Failure('Could not capture screenshot') |
+ raise legacy_page_test.Failure('Could not capture screenshot') |
dpr = tab.EvaluateJavaScript('window.devicePixelRatio') |
print 'Maps\' devicePixelRatio is ' + str(dpr) |