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

Unified Diff: media/renderers/skcanvas_video_renderer.cc

Issue 2888603002: Replace uses of legacy SkImageGenerator API (Closed)
Patch Set: Created 3 years, 7 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: media/renderers/skcanvas_video_renderer.cc
diff --git a/media/renderers/skcanvas_video_renderer.cc b/media/renderers/skcanvas_video_renderer.cc
index 395f6d613e466a45a885d11334fd815788e4ac53..a9b55e0ef5f7994519daa86b7000c55ad7c07112 100644
--- a/media/renderers/skcanvas_video_renderer.cc
+++ b/media/renderers/skcanvas_video_renderer.cc
@@ -244,8 +244,7 @@ class VideoImageGenerator : public SkImageGenerator {
bool onGetPixels(const SkImageInfo& info,
void* pixels,
size_t row_bytes,
- SkPMColor ctable[],
- int* ctable_count) override {
+ const Options&) override {
chcunningham 2017/05/16 18:50:54 Should these options have implications for convers
msarett1 2017/05/16 18:59:15 No problem. The "options" should not, given that
// If skia couldn't do the YUV conversion on GPU, we will on CPU.
SkCanvasVideoRenderer::ConvertVideoFrameToRGBPixels(frame_.get(), pixels,
row_bytes);

Powered by Google App Engine
This is Rietveld 408576698