diff options
Diffstat (limited to 'ppapi/cpp/dev/audio_dev.cc')
-rw-r--r-- | ppapi/cpp/dev/audio_dev.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/cpp/dev/audio_dev.cc b/ppapi/cpp/dev/audio_dev.cc index 850d4d1..b80d196 100644 --- a/ppapi/cpp/dev/audio_dev.cc +++ b/ppapi/cpp/dev/audio_dev.cc @@ -16,14 +16,14 @@ template <> const char* interface_name<PPB_Audio_Dev>() { } // namespace -Audio_Dev::Audio_Dev(const Instance& instance, +Audio_Dev::Audio_Dev(Instance* instance, const AudioConfig_Dev& config, PPB_Audio_Callback callback, void* user_data) : config_(config) { if (has_interface<PPB_Audio_Dev>()) { PassRefFromConstructor(get_interface<PPB_Audio_Dev>()->Create( - instance.pp_instance(), config.pp_resource(), callback, user_data)); + instance->pp_instance(), config.pp_resource(), callback, user_data)); } } |