Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py

Issue 105753006: Revert "Revert 239784 "Make page_cycler.py fully measure memory for each..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Shadi's comment Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py b/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py
index 5505a0f60616e5ebcefb0dfa243dc9329ffa896b..4a56a056ca6095e86191eafc6bcceaede4c71b94 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py
@@ -34,6 +34,5 @@ def GetIfChanged(profiler_binary):
def InstallOnDevice(adb, profiler_binary):
GetIfChanged(profiler_binary)
- adb.Adb().PushIfNeeded(GetHostPath(profiler_binary),
- GetDevicePath(profiler_binary))
- adb.Adb().RunShellCommand('chmod 777 ' + GetDevicePath(profiler_binary))
+ adb.PushIfNeeded(GetHostPath(profiler_binary), GetDevicePath(profiler_binary))
+ adb.RunShellCommand('chmod 777 ' + GetDevicePath(profiler_binary))

Powered by Google App Engine
This is Rietveld 408576698