Index: build/android/chrome_profiler/profiler.py |
diff --git a/build/android/chrome_profiler/profiler.py b/build/android/chrome_profiler/profiler.py |
index 019d3c02a55a5781c0b3587655520fa41fa34113..ed634a4435601115b4d397c6d1bb55d8dcb7c4c1 100644 |
--- a/build/android/chrome_profiler/profiler.py |
+++ b/build/android/chrome_profiler/profiler.py |
@@ -53,9 +53,7 @@ def _StopTracing(controllers): |
def _PullTraces(controllers, output, compress, write_json): |
ui.PrintMessage('Downloading...', eol='') |
- trace_files = [] |
- for controller in controllers: |
- trace_files.append(controller.PullTrace()) |
+ trace_files = [controller.PullTrace() for controller in controllers] |
if not write_json: |
html_file = os.path.splitext(trace_files[0])[0] + '.html' |