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

Unified Diff: content/browser/renderer_host/render_widget_host_view_browsertest.cc

Issue 319133003: Initialize the bitmap before drawing the VideoFrame into it, in case (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_browsertest.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_browsertest.cc b/content/browser/renderer_host/render_widget_host_view_browsertest.cc
index e054f219cd34f215af4fe1761b5118a5886f3cb5..3f11cb253a136c3067f9a70f62e022b5582a7a89 100644
--- a/content/browser/renderer_host/render_widget_host_view_browsertest.cc
+++ b/content/browser/renderer_host/render_widget_host_view_browsertest.cc
@@ -493,6 +493,7 @@ class CompositingRenderWidgetHostViewBrowserTestTabCapture
kPMColor_SkColorType,
kPremul_SkAlphaType));
bitmap.allocPixels();
reed1 2014/06/06 15:46:30 While we're editing this file... I see there are t
danakj 2014/06/06 15:47:21 Well that's strange, haha.
danakj 2014/06/06 17:21:08 Done.
+ bitmap.eraseColor(SK_ColorTRANSPARENT);
SkCanvas canvas(bitmap);
video_renderer.Paint(video_frame.get(),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698