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

Unified Diff: tools/telemetry/telemetry/core/tab.py

Issue 141053006: [telemetry] Process streams of bitmaps via BitmapIter Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/telemetry/telemetry/core/platform/android_platform_backend.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/tab.py
diff --git a/tools/telemetry/telemetry/core/tab.py b/tools/telemetry/telemetry/core/tab.py
index 964e388bc8a485de8980d349548512bd068190ff..9eefca1ebaed5e89fef29e571164de2c98b4e7db 100644
--- a/tools/telemetry/telemetry/core/tab.py
+++ b/tools/telemetry/telemetry/core/tab.py
@@ -201,9 +201,11 @@ class Tab(web_contents.WebContents):
raise # Content box is not in first frame.
break
+ frame_generator.Crop(*content_box)
+
start_time = timestamp
for timestamp, bmp in frame_generator:
- yield timestamp - start_time, bmp.Crop(*content_box)
+ yield timestamp - start_time, bmp
def PerformActionAndWaitForNavigate(
self, action_function, timeout=DEFAULT_TAB_TIMEOUT):
« no previous file with comments | « tools/telemetry/telemetry/core/platform/android_platform_backend.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698