Index: tools/perf/benchmarks/jsgamebench.py |
diff --git a/tools/perf/benchmarks/jsgamebench.py b/tools/perf/benchmarks/jsgamebench.py |
index 634db5c5bf5ad6837398330e0add3742dcb21b0a..c94f754f3655200c31f7f1041e16ade280d397d2 100644 |
--- a/tools/perf/benchmarks/jsgamebench.py |
+++ b/tools/perf/benchmarks/jsgamebench.py |
@@ -42,9 +42,8 @@ class Jsgamebench(test.Test): |
test = _JsgamebenchMeasurement |
def CreatePageSet(self, options): |
- return page_set.PageSet.FromDict({ |
- 'archive_data_file': '../page_sets/data/jsgamebench.json', |
- 'pages': [ |
- { 'url': 'http://localhost/' } |
- ] |
- }, os.path.dirname(__file__)) |
+ ps = page_set.PageSet( |
+ archive_data_file='../page_sets/data/jsgamebench.json', |
+ file_path=os.path.dirname(__file__)) |
+ ps.AddPageWithDefaultRunNavigate('http://localhost/') |
+ return ps |