Index: tools/skp/page_sets/skia_tigersvg_desktop.py |
diff --git a/tools/skp/page_sets/skia_tigersvg_desktop.py b/tools/skp/page_sets/skia_tigersvg_desktop.py |
index 2e490a274c14880eb54290c4d9b4bf41ead6c49a..c11f28dc7ab9959b3cd367b5231a1722c45f996b 100644 |
--- a/tools/skp/page_sets/skia_tigersvg_desktop.py |
+++ b/tools/skp/page_sets/skia_tigersvg_desktop.py |
@@ -4,8 +4,9 @@ |
# pylint: disable=W0401,W0614 |
+from telemetry import story |
from telemetry.page import page as page_module |
-from telemetry.page import page_set as page_set_module |
+from telemetry.page import shared_page_state |
class SkiaBuildbotDesktopPage(page_module.Page): |
@@ -14,8 +15,8 @@ class SkiaBuildbotDesktopPage(page_module.Page): |
super(SkiaBuildbotDesktopPage, self).__init__( |
url=url, |
page_set=page_set, |
- credentials_path='data/credentials.json') |
- self.user_agent_type = 'desktop' |
+ credentials_path='data/credentials.json', |
+ shared_page_state_class=shared_page_state.SharedDesktopPageState) |
self.archive_data_file = 'data/skia_tigersvg_desktop.json' |
def RunNavigateSteps(self, action_runner): |
@@ -23,13 +24,12 @@ class SkiaBuildbotDesktopPage(page_module.Page): |
action_runner.Wait(5) |
-class SkiaTigersvgDesktopPageSet(page_set_module.PageSet): |
+class SkiaTigersvgDesktopPageSet(story.StorySet): |
""" Pages designed to represent the median, not highly optimized web """ |
def __init__(self): |
super(SkiaTigersvgDesktopPageSet, self).__init__( |
- user_agent_type='desktop', |
archive_data_file='data/skia_tigersvg_desktop.json') |
urls_list = [ |