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

Unified Diff: ppapi/thunk/ppb_video_decoder_thunk.cc

Issue 7779001: Replace the use of an int32* with a proper struct for decoder configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 4 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/thunk/ppb_video_decoder_thunk.cc
diff --git a/ppapi/thunk/ppb_video_decoder_thunk.cc b/ppapi/thunk/ppb_video_decoder_thunk.cc
index cb0485c8fde124862d195c0832be1606ef12f6b6..cd14fbb875245924c180ea96387e8d1e2ac36846 100644
--- a/ppapi/thunk/ppb_video_decoder_thunk.cc
+++ b/ppapi/thunk/ppb_video_decoder_thunk.cc
@@ -18,11 +18,11 @@ typedef EnterResource<PPB_VideoDecoder_API> EnterVideoDecoder;
PP_Resource Create(PP_Instance instance,
PP_Resource context_3d,
- const PP_VideoConfigElement* config) {
+ const PP_VideoDecoderConfig_Dev* config) {
EnterFunction<ResourceCreationAPI> enter(instance, true);
if (enter.failed())
return 0;
- return enter.functions()->CreateVideoDecoder(instance, context_3d, config);
+ return enter.functions()->CreateVideoDecoder(instance, context_3d, *config);
}
PP_Bool IsVideoDecoder(PP_Resource resource) {

Powered by Google App Engine
This is Rietveld 408576698