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

Unified Diff: tools/perf/measurements/skpicture_printer.py

Issue 2719853003: [Telemetry refactor] Drop "2" from method calls to JS API (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
« no previous file with comments | « tools/perf/measurements/rasterize_and_record_micro.py ('k') | tools/perf/metrics/loading.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/skpicture_printer.py
diff --git a/tools/perf/measurements/skpicture_printer.py b/tools/perf/measurements/skpicture_printer.py
index f85562a5adb0541c5672dbca0e615304f0ff9c6c..87355b300d17c283ddd739d5a6dfbd75b7d4d4c6 100644
--- a/tools/perf/measurements/skpicture_printer.py
+++ b/tools/perf/measurements/skpicture_printer.py
@@ -28,7 +28,7 @@ class SkpicturePrinter(legacy_page_test.LegacyPageTest):
os.path.join(self._skp_outdir, page.file_safe_name))
# Replace win32 path separator char '\' with '\\'.
outpath = outpath.replace('\\', '\\\\')
- tab.EvaluateJavaScript2(
+ tab.EvaluateJavaScript(
'chrome.gpuBenchmarking.printToSkPicture({{ outpath }});',
outpath=outpath)
pictures = glob.glob(os.path.join(outpath, '*.skp'))
« no previous file with comments | « tools/perf/measurements/rasterize_and_record_micro.py ('k') | tools/perf/metrics/loading.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698