diff options
Diffstat (limited to 'webkit/plugins/ppapi/plugin_module.cc')
-rw-r--r-- | webkit/plugins/ppapi/plugin_module.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc index a7a7dd2..2cae785 100644 --- a/webkit/plugins/ppapi/plugin_module.cc +++ b/webkit/plugins/ppapi/plugin_module.cc @@ -538,13 +538,12 @@ bool PluginModule::ReserveInstanceID(PP_Instance instance) { return true; // Instance ID is usable. } -void PluginModule::SetBroker( - scoped_refptr<PluginDelegate::PpapiBroker> broker) { - DCHECK(!broker_.get()); +void PluginModule::SetBroker(PluginDelegate::PpapiBroker* broker) { + DCHECK(!broker_ || !broker); broker_ = broker; } -scoped_refptr<PluginDelegate::PpapiBroker> PluginModule::GetBroker(){ +PluginDelegate::PpapiBroker* PluginModule::GetBroker(){ return broker_; } |