| Index: ppapi/proxy/ppb_broker_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_broker_proxy.cc b/ppapi/proxy/ppb_broker_proxy.cc
|
| index 637c6a024e3e61e14751a13e2f46e669132218d2..cc2bf8656768b8ee28af66678ef51611f3fa323b 100644
|
| --- a/ppapi/proxy/ppb_broker_proxy.cc
|
| +++ b/ppapi/proxy/ppb_broker_proxy.cc
|
| @@ -181,8 +181,7 @@ PP_Resource PPB_Broker_Proxy::CreateProxyResource(PP_Instance instance) {
|
| if (result.is_null())
|
| return 0;
|
|
|
| - linked_ptr<Broker> object(new Broker(result));
|
| - return PluginResourceTracker::GetInstance()->AddResource(object);
|
| + return PluginResourceTracker::GetInstance()->AddResource(new Broker(result));
|
| }
|
|
|
| bool PPB_Broker_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
|
|