| Index: ppapi/proxy/ppb_network_monitor_private_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_network_monitor_private_proxy.cc b/ppapi/proxy/ppb_network_monitor_private_proxy.cc
|
| index 4fa2d6eec240fd16cd8c7ff12e8cbd5d5cd5a93c..26252acd27e4fff13c4b9a3f3dd2500222c923b3 100644
|
| --- a/ppapi/proxy/ppb_network_monitor_private_proxy.cc
|
| +++ b/ppapi/proxy/ppb_network_monitor_private_proxy.cc
|
| @@ -82,7 +82,7 @@ PP_Resource PPB_NetworkMonitor_Private_Proxy::CreateProxyResource(
|
| if (!proxy)
|
| return 0;
|
|
|
| - scoped_ptr<NetworkMonitor> result(
|
| + scoped_refptr<NetworkMonitor> result(
|
| new NetworkMonitor(instance, proxy, callback, user_data));
|
| proxy->monitors_->AddObserver(result.get());
|
|
|
| @@ -103,7 +103,7 @@ PP_Resource PPB_NetworkMonitor_Private_Proxy::CreateProxyResource(
|
| result->AsWeakPtr(), proxy->current_list_));
|
| }
|
|
|
| - return result.release()->GetReference();
|
| + return result->GetReference();
|
| }
|
|
|
| bool PPB_NetworkMonitor_Private_Proxy::OnMessageReceived(
|
|
|