Index: tools/telemetry/telemetry/core/chrome/android_platform_backend.py |
diff --git a/tools/telemetry/telemetry/core/chrome/android_platform_backend.py b/tools/telemetry/telemetry/core/chrome/android_platform_backend.py |
index e5d8036ba798b2da54a62ba89e1cc902b0bdf970..a1d4745dee26ad3055aced519caa9b2539167eee 100644 |
--- a/tools/telemetry/telemetry/core/chrome/android_platform_backend.py |
+++ b/tools/telemetry/telemetry/core/chrome/android_platform_backend.py |
@@ -42,12 +42,11 @@ class AndroidPlatformBackend(platform_backend.PlatformBackend): |
def StartRawDisplayFrameRateMeasurement(self): |
assert not self._surface_stats_collector |
self._surface_stats_collector = \ |
- surface_stats_collector.SurfaceStatsCollector(self._adb, '') |
- self._surface_stats_collector.SuppressPrintingResults() |
- self._surface_stats_collector.__enter__() |
+ surface_stats_collector.SurfaceStatsCollector(self._adb) |
+ self._surface_stats_collector.Start() |
def StopRawDisplayFrameRateMeasurement(self): |
- self._surface_stats_collector.__exit__() |
+ self._surface_stats_collector.Stop() |
for r in self._surface_stats_collector.GetResults(): |
self._raw_display_frame_rate_measurements.append( |
platform.Platform.RawDisplayFrameRateMeasurement( |