Index: tools/perf/page_sets/typical_25.py |
diff --git a/tools/perf/page_sets/typical_25.py b/tools/perf/page_sets/typical_25.py |
index 57983bb55c3b79e437af7f025dce5a8fe666afd1..89395a39a3bcfaa9e349705d1a95b486784f9b31 100644 |
--- a/tools/perf/page_sets/typical_25.py |
+++ b/tools/perf/page_sets/typical_25.py |
@@ -7,15 +7,12 @@ |
class Typical25Page(page_module.Page): |
- def __init__(self, url, page_set, run_no_page_interactions): |
+ def __init__(self, url, page_set): |
super(Typical25Page, self).__init__(url=url, page_set=page_set) |
self.user_agent_type = 'desktop' |
self.archive_data_file = 'data/typical_25.json' |
- self._run_no_page_interactions = run_no_page_interactions |
def RunPageInteractions(self, action_runner): |
- if self._run_no_page_interactions: |
- return |
interaction = action_runner.BeginGestureInteraction( |
'ScrollAction', is_smooth=True) |
action_runner.ScrollPage() |
@@ -26,7 +23,7 @@ |
""" Pages designed to represent the median, not highly optimized web """ |
- def __init__(self, make_pages_with_no_interactions=False): |
+ def __init__(self): |
super(Typical25PageSet, self).__init__( |
user_agent_type='desktop', |
archive_data_file='data/typical_25.json', |
@@ -74,5 +71,4 @@ |
] |
for url in urls_list: |
- self.AddUserStory( |
- Typical25Page(url, self, make_pages_with_no_interactions)) |
+ self.AddUserStory(Typical25Page(url, self)) |