| Index: tools/perf/measurements/smoothness_unittest.py
|
| diff --git a/tools/perf/measurements/smoothness_unittest.py b/tools/perf/measurements/smoothness_unittest.py
|
| index def81410b478fc90d72ec0a4a63f933c12f2e42a..2226095db22ca24195242798d8e98177a709eb82 100644
|
| --- a/tools/perf/measurements/smoothness_unittest.py
|
| +++ b/tools/perf/measurements/smoothness_unittest.py
|
| @@ -37,14 +37,12 @@ class SmoothnessUnitTest(
|
| i.e. it only checks if the metrics are present and non-zero.
|
| """
|
| def testSyntheticDelayConfiguration(self):
|
| - attributes = {
|
| - 'synthetic_delays': {
|
| + test_page = page.Page('http://dummy', None)
|
| + test_page.synthetic_delays = {
|
| 'cc.BeginMainFrame': { 'target_duration': 0.012 },
|
| 'cc.DrawAndSwap': { 'target_duration': 0.012, 'mode': 'alternating' },
|
| 'gpu.SwapBuffers': { 'target_duration': 0.012 }
|
| - }
|
| }
|
| - test_page = page.Page('http://dummy', None, attributes=attributes)
|
|
|
| tab = FakeTab()
|
| measurement = smoothness.Smoothness()
|
|
|