Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/child/dataCollector.js

Issue 29333400: Issue 3503 - Fixed: Screenshot marker in Issue Reporter is no longer red (Closed)
Patch Set: Better approach, remove asynchronity Created Jan. 12, 2016, 4:22 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/content/ui/sendReport.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/child/dataCollector.js
===================================================================
--- a/lib/child/dataCollector.js
+++ b/lib/child/dataCollector.js
@@ -120,12 +120,10 @@ function* createScreenshot(window, scree
if (i % 5000 == 0)
{
// Take a break every 5000 bytes to prevent browser hangs
yield new Promise((resolve, reject) => Utils.runAsync(resolve));
}
}
- // Convert the data into an image URL
- context.putImageData(pixelData, 0, 0);
- return canvas.toDataURL("image/png");
+ return pixelData;
}
« no previous file with comments | « chrome/content/ui/sendReport.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld