Index: tools/perf/measurements/smoothness_controller.py |
diff --git a/tools/perf/measurements/smoothness_controller.py b/tools/perf/measurements/smoothness_controller.py |
index 4d0f37ff1a9a1cbd59329fa8941560699f814c1d..3bcd285bf5a810ac0f41c3590e3e41a8ec670c84 100644 |
--- a/tools/perf/measurements/smoothness_controller.py |
+++ b/tools/perf/measurements/smoothness_controller.py |
@@ -9,7 +9,6 @@ |
from telemetry.page.actions import action_runner |
from telemetry.web_perf import timeline_interaction_record as tir_module |
from telemetry.web_perf.metrics import smoothness |
-from telemetry.value import scalar |
RUN_SMOOTH_ACTIONS = 'RunSmoothAllActions' |
@@ -96,8 +95,7 @@ |
for r in tab.browser.platform.GetRawDisplayFrameRateMeasurements(): |
if r.value is None: |
raise MissingDisplayFrameRateError(r.name) |
- results.AddValue(scalar.ScalarValue( |
- results.current_page, r.name, r.unit, r.value)) |
+ results.Add(r.name, r.unit, r.value) |
def CleanUp(self, tab): |
if tab.browser.platform.IsRawDisplayFrameRateSupported(): |