diff options
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/perf_tools/smoothness_benchmark_unittest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/perf_tools/smoothness_benchmark_unittest.py b/tools/perf/perf_tools/smoothness_benchmark_unittest.py index 534e410..64e64e2 100644 --- a/tools/perf/perf_tools/smoothness_benchmark_unittest.py +++ b/tools/perf/perf_tools/smoothness_benchmark_unittest.py @@ -102,7 +102,8 @@ class SmoothnessBenchmarkUnitTest( # result in a scroll location outside of the viewport bounds. tab.runtime.Execute("""document.body.style.height = (2 * window.innerHeight + 1) + 'px';""") - scroll_js_path = os.path.join(os.path.dirname(__file__), 'scroll.js') + scroll_js_path = os.path.join(os.path.dirname(__file__), '..', '..', + 'telemetry', 'telemetry', 'scroll.js') scroll_js = open(scroll_js_path, 'r').read() tab.runtime.Evaluate(scroll_js) |