summaryrefslogtreecommitdiffstats
path: root/media/tools/player_x11/player_x11.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/tools/player_x11/player_x11.cc')
-rw-r--r--media/tools/player_x11/player_x11.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/media/tools/player_x11/player_x11.cc b/media/tools/player_x11/player_x11.cc
index 0cec7b82..d71cd1a 100644
--- a/media/tools/player_x11/player_x11.cc
+++ b/media/tools/player_x11/player_x11.cc
@@ -79,9 +79,6 @@ bool InitX11() {
return true;
}
-void SetOpaque(bool /*opaque*/) {
-}
-
typedef base::Callback<void(media::VideoFrame*)> PaintCB;
void Paint(base::MessageLoop* message_loop, const PaintCB& paint_cb,
const scoped_refptr<media::VideoFrame>& video_frame) {
@@ -132,7 +129,6 @@ void InitPipeline(
video_decoders.Pass(),
media::SetDecryptorReadyCB(),
base::Bind(&Paint, paint_message_loop, paint_cb),
- base::Bind(&SetOpaque),
true));
collection->SetVideoRenderer(video_renderer.Pass());