summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/perf_tools/blink_perf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/perf_tools/blink_perf.py b/tools/perf/perf_tools/blink_perf.py
index 7754423..2183f9272 100644
--- a/tools/perf/perf_tools/blink_perf.py
+++ b/tools/perf/perf_tools/blink_perf.py
@@ -37,7 +37,8 @@ class BlinkPerf(page_measurement.PageMeasurement):
if '../' in open(path, 'r').read():
# If the page looks like it references its parent dir, include it.
page_set_dict['serving_dirs'] = [os.path.dirname(os.path.dirname(path))]
- page_set_dict['pages'].append({'url': 'file://' + path})
+ page_set_dict['pages'].append({'url':
+ 'file://' + path.replace('\\', '/')})
def _AddDir(dir_path, skipped):
for path in os.listdir(dir_path):