Chromium Code Reviews| Index: media/mojo/clients/mojo_decryptor.h |
| diff --git a/media/mojo/clients/mojo_decryptor.h b/media/mojo/clients/mojo_decryptor.h |
| index 8b889574c4fa90acc45795947849a1021eaf3850..e51ba71b7aa3eda3bd046f2ad8931b41668f3d87 100644 |
| --- a/media/mojo/clients/mojo_decryptor.h |
| +++ b/media/mojo/clients/mojo_decryptor.h |
| @@ -63,7 +63,7 @@ class MojoDecryptor : public Decryptor { |
| std::vector<mojom::AudioBufferPtr> audio_buffers); |
| void OnVideoDecoded(const VideoDecodeCB& video_decode_cb, |
| Status status, |
| - mojom::VideoFramePtr video_frame, |
| + const scoped_refptr<VideoFrame>& video_frame, |
|
xhwang
2017/06/06 05:51:15
The current style guide discourages using const-re
sandersd (OOO until July 31)
2017/06/06 18:07:37
Yes, but this callback is used as a Decryptor::Dec
xhwang
2017/06/06 18:12:47
I see. So it's more like a binding generation issu
dcheng
2017/06/08 09:41:08
It is possible to annotate the type with move_only
|
| mojom::FrameResourceReleaserPtr releaser); |
| base::ThreadChecker thread_checker_; |