| Index: ppapi/shared_impl/ppb_audio_config_shared.h
|
| diff --git a/ppapi/shared_impl/ppb_audio_config_shared.h b/ppapi/shared_impl/ppb_audio_config_shared.h
|
| index 65e3b2b6cc762bd99d2f4421c257772584f49080..2a51be42c1e287875f1fec339bf6eb495bfc116f 100644
|
| --- a/ppapi/shared_impl/ppb_audio_config_shared.h
|
| +++ b/ppapi/shared_impl/ppb_audio_config_shared.h
|
| @@ -18,12 +18,10 @@ class PPAPI_SHARED_EXPORT PPB_AudioConfig_Shared
|
| public:
|
| virtual ~PPB_AudioConfig_Shared();
|
|
|
| - static PP_Resource CreateAsImpl(PP_Instance instance,
|
| - PP_AudioSampleRate sample_rate,
|
| - uint32_t sample_frame_count);
|
| - static PP_Resource CreateAsProxy(PP_Instance instance,
|
| - PP_AudioSampleRate sample_rate,
|
| - uint32_t sample_frame_count);
|
| + static PP_Resource Create(ResourceObjectType type,
|
| + PP_Instance instance,
|
| + PP_AudioSampleRate sample_rate,
|
| + uint32_t sample_frame_count);
|
|
|
| // Resource overrides.
|
| virtual thunk::PPB_AudioConfig_API* AsPPB_AudioConfig_API() OVERRIDE;
|
| @@ -34,10 +32,8 @@ class PPAPI_SHARED_EXPORT PPB_AudioConfig_Shared
|
|
|
| private:
|
| // You must call Init before using this object.
|
| - // Construct as implementation.
|
| - explicit PPB_AudioConfig_Shared(PP_Instance instance);
|
| - // Construct as proxy.
|
| - explicit PPB_AudioConfig_Shared(const HostResource& host_resource);
|
| + explicit PPB_AudioConfig_Shared(ResourceObjectType type,
|
| + PP_Instance instance);
|
|
|
| // Returns false if the arguments are invalid, the object should not be
|
| // used in this case.
|
|
|