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

Unified Diff: ppapi/cpp/dev/video_decoder_client_dev.cc

Issue 9186022: Remove VideoDecodeAccelerator::Client::NotifyEndOfStream / PPP_VideoDecoder_Dev::EndOfStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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: ppapi/cpp/dev/video_decoder_client_dev.cc
diff --git a/ppapi/cpp/dev/video_decoder_client_dev.cc b/ppapi/cpp/dev/video_decoder_client_dev.cc
index 6186745c49fd77c76ea4e74f2fb0d43e1a674c9d..aa76c0efda78000f60d873a993424d83624faab8 100644
--- a/ppapi/cpp/dev/video_decoder_client_dev.cc
+++ b/ppapi/cpp/dev/video_decoder_client_dev.cc
@@ -50,15 +50,6 @@ void PictureReady(PP_Instance instance,
static_cast<VideoDecoderClient_Dev*>(object)->PictureReady(decoder, *picture);
}
-void EndOfStream(PP_Instance instance,
- PP_Resource decoder) {
- void* object = pp::Instance::GetPerInstanceObject(
- instance, kPPPVideoDecoderInterface);
- if (!object)
- return;
- static_cast<VideoDecoderClient_Dev*>(object)->EndOfStream(decoder);
-}
-
void NotifyError(PP_Instance instance,
PP_Resource decoder,
PP_VideoDecodeError_Dev error) {
@@ -73,7 +64,6 @@ static PPP_VideoDecoder_Dev videodecoder_interface = {
&ProvidePictureBuffers,
&DismissPictureBuffer,
&PictureReady,
- &EndOfStream,
&NotifyError,
};

Powered by Google App Engine
This is Rietveld 408576698