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

Unified Diff: media/base/null_video_sink.cc

Issue 1996763002: Make painting a single frame a permanent API on VideoRendererSink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 4 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/base/null_video_sink.cc
diff --git a/media/base/null_video_sink.cc b/media/base/null_video_sink.cc
index f8471056c99c85f6b9f185d5c046adbe05ade819..e96fdda240dcbc4beaa19a2286b6d6d63ce9413b 100644
--- a/media/base/null_video_sink.cc
+++ b/media/base/null_video_sink.cc
@@ -88,8 +88,7 @@ void NullVideoSink::CallRender() {
delay);
}
-void NullVideoSink::PaintFrameUsingOldRenderingPath(
- const scoped_refptr<VideoFrame>& frame) {
+void NullVideoSink::PaintSingleFrame(const scoped_refptr<VideoFrame>& frame) {
new_frame_cb_.Run(frame);
}

Powered by Google App Engine
This is Rietveld 408576698