Index: tools/perf/measurements/smoothness_unittest.py |
diff --git a/tools/perf/measurements/smoothness_unittest.py b/tools/perf/measurements/smoothness_unittest.py |
index 572b1c2fcaf2cbf2ea5bc0a623298acb1f3498af..ab2e26220dd4cd17b0e8c99ef34d52850a42da8b 100644 |
--- a/tools/perf/measurements/smoothness_unittest.py |
+++ b/tools/perf/measurements/smoothness_unittest.py |
@@ -131,7 +131,7 @@ class SmoothnessUnitTest(page_test_test_case.PageTestTestCase): |
@test.Disabled('mac', 'chromeos') # http://crbug.com/403903 |
def testSmoothnessForPageWithNoGesture(self): |
ps = self.CreateEmptyPageSet() |
- ps.AddPage(AnimatedPage(ps)) |
+ ps.AddUserStory(AnimatedPage(ps)) |
measurement = smoothness.Smoothness() |
results = self.RunMeasurement(measurement, ps, options=self._options) |
@@ -164,7 +164,7 @@ class SmoothnessUnitTest(page_test_test_case.PageTestTestCase): |
self.stop_called = True |
ps = self.CreateEmptyPageSet() |
- ps.AddPage(FailPage(ps)) |
+ ps.AddUserStory(FailPage(ps)) |
class BuggyMeasurement(smoothness.Smoothness): |
fake_power = None |