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

Unified Diff: cc/resources/video_resource_updater.cc

Issue 445013002: media: Optimize HW Video to 2D Canvas copy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't move SkCanvasVideoRenderer Created 6 years, 4 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
Index: cc/resources/video_resource_updater.cc
diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc
index a1286b917b4f2bde8af4248eb7654b2da202db4d..5b0b8e63545e4792d50a3edf3ce2a998456052dc 100644
--- a/cc/resources/video_resource_updater.cc
+++ b/cc/resources/video_resource_updater.cc
@@ -252,7 +252,8 @@ VideoFrameExternalResources VideoResourceUpdater::CreateForSoftwarePlanes(
video_renderer_->Paint(video_frame.get(),
lock.sk_canvas(),
video_frame->visible_rect(),
- 0xff);
+ 0xff,
+ 0);
danakj 2014/08/07 14:07:31 This should be NULL right? It's a pointer?
dshwang 2014/08/07 15:10:43 Done. I was confused with Blink coding style.
}
RecycleResourceData recycle_data = {

Powered by Google App Engine
This is Rietveld 408576698