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

Unified Diff: telemetry/telemetry/internal/platform/profiler/tcmalloc_heap_profiler.py

Issue 2692763002: Revert of [Telemetry] Switch clients to new JavaScript API (batch 5) (Closed)
Patch Set: Created 3 years, 10 months 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: telemetry/telemetry/internal/platform/profiler/tcmalloc_heap_profiler.py
diff --git a/telemetry/telemetry/internal/platform/profiler/tcmalloc_heap_profiler.py b/telemetry/telemetry/internal/platform/profiler/tcmalloc_heap_profiler.py
index e6f1bb83c4448209d9834ff38fa2167338073150..a11ae4cd6466dd399b2b084184e3f877227deafd 100644
--- a/telemetry/telemetry/internal/platform/profiler/tcmalloc_heap_profiler.py
+++ b/telemetry/telemetry/internal/platform/profiler/tcmalloc_heap_profiler.py
@@ -137,7 +137,7 @@
# This is a minor optimization to ensure it'll dump the last file when
# the test completes.
for i in xrange(len(browser_backend.browser.tabs)):
- browser_backend.browser.tabs[i].ExecuteJavaScript2("""
+ browser_backend.browser.tabs[i].ExecuteJavaScript("""
if (chrome && chrome.memoryBenchmarking) {
chrome.memoryBenchmarking.heapProfilerDump('renderer', 'final');
chrome.memoryBenchmarking.heapProfilerDump('browser', 'final');

Powered by Google App Engine
This is Rietveld 408576698