summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/ppb_audio_input_trusted_thunk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/thunk/ppb_audio_input_trusted_thunk.cc')
-rw-r--r--ppapi/thunk/ppb_audio_input_trusted_thunk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/thunk/ppb_audio_input_trusted_thunk.cc b/ppapi/thunk/ppb_audio_input_trusted_thunk.cc
index ac9f0bb..b17e1bd 100644
--- a/ppapi/thunk/ppb_audio_input_trusted_thunk.cc
+++ b/ppapi/thunk/ppb_audio_input_trusted_thunk.cc
@@ -20,7 +20,7 @@ PP_Resource Create(PP_Instance instance_id) {
EnterFunction<ResourceCreationAPI> enter(instance_id, true);
if (enter.failed())
return 0;
- return enter.functions()->CreateAudioInputTrusted(instance_id);
+ return enter.functions()->CreateAudioInput(instance_id);
}
int32_t Open(PP_Resource audio_id,
@@ -29,7 +29,7 @@ int32_t Open(PP_Resource audio_id,
EnterAudioInput enter(audio_id, callback, true);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.object()->OpenTrusted(config_id, callback));
+ return enter.SetResult(enter.object()->OpenTrusted("", config_id, callback));
}
int32_t GetSyncSocket(PP_Resource audio_id, int* sync_socket) {