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

Unified Diff: webkit/plugins/ppapi/ppb_video_decoder_impl.h

Issue 7204038: Fix PPB_VideoDecoder_Impl::NotifyEndOfBitstreamBuffer to use correct ID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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
« no previous file with comments | « ppapi/examples/gles2/gles2.cc ('k') | webkit/plugins/ppapi/ppb_video_decoder_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_video_decoder_impl.h
diff --git a/webkit/plugins/ppapi/ppb_video_decoder_impl.h b/webkit/plugins/ppapi/ppb_video_decoder_impl.h
index 0b394182d4d3a65ec6157ba039411b255ee70f3d..67b1e047be846d5f706d1a174482e81913af3d73 100644
--- a/webkit/plugins/ppapi/ppb_video_decoder_impl.h
+++ b/webkit/plugins/ppapi/ppb_video_decoder_impl.h
@@ -75,6 +75,8 @@ class PPB_VideoDecoder_Impl : public Resource,
virtual void NotifyAbortDone() OVERRIDE;
private:
+ typedef std::map<int32, PP_CompletionCallback> CallbackById;
brettw 2011/06/20 21:51:06 Can you clarify what the "id" is that this is mapp
Ami GONE FROM CHROMIUM 2011/06/20 22:13:02 Done.
+
// This is NULL before initialization, and if this PPB_VideoDecoder_Impl is
// swapped with another.
scoped_ptr<PluginDelegate::PlatformVideoDecoder> platform_video_decoder_;
@@ -85,7 +87,7 @@ class PPB_VideoDecoder_Impl : public Resource,
PP_CompletionCallback initialization_callback_;
PP_CompletionCallback abort_callback_;
PP_CompletionCallback flush_callback_;
- PP_CompletionCallback bitstream_buffer_callback_;
+ CallbackById bitstream_buffer_callbacks_;
// Reference to the plugin requesting this interface.
const PPP_VideoDecoder_Dev* ppp_videodecoder_;
« no previous file with comments | « ppapi/examples/gles2/gles2.cc ('k') | webkit/plugins/ppapi/ppb_video_decoder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698