Index: tools/telemetry/telemetry/core/platform/profiler/v8_profiler.py |
diff --git a/tools/telemetry/telemetry/core/platform/profiler/v8_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/v8_profiler.py |
index ef065be3c4f10a2041f31802e2d12efa44a8d3f0..73e126ea5cb4929dc257da60c9b8e0f71b88f124 100644 |
--- a/tools/telemetry/telemetry/core/platform/profiler/v8_profiler.py |
+++ b/tools/telemetry/telemetry/core/platform/profiler/v8_profiler.py |
@@ -38,9 +38,9 @@ |
# On Android pull the output file to the host. |
if self._platform_backend.GetOSName() == 'android': |
host_output_file = '%s.log' % self._output_path |
- self._browser_backend.device.PullFile(output_file, host_output_file) |
+ self._browser_backend.adb.device().PullFile(output_file, host_output_file) |
# Clean the device |
- self._browser_backend.device.RunShellCommand('rm %s' % output_file) |
+ self._browser_backend.adb.device().RunShellCommand('rm %s' % output_file) |
output_file = host_output_file |
print 'V8 profile saved as %s' % output_file |
print 'To view, open in ' \ |