summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_url_request_info_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/ppb_url_request_info_proxy.cc')
-rw-r--r--ppapi/proxy/ppb_url_request_info_proxy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/proxy/ppb_url_request_info_proxy.cc b/ppapi/proxy/ppb_url_request_info_proxy.cc
index 9d545a2..e2b96cb 100644
--- a/ppapi/proxy/ppb_url_request_info_proxy.cc
+++ b/ppapi/proxy/ppb_url_request_info_proxy.cc
@@ -139,8 +139,8 @@ PP_Resource PPB_URLRequestInfo_Proxy::CreateProxyResource(
if (result.is_null())
return 0;
- linked_ptr<URLRequestInfo> object(new URLRequestInfo(result));
- return PluginResourceTracker::GetInstance()->AddResource(object);
+ return PluginResourceTracker::GetInstance()->AddResource(
+ new URLRequestInfo(result));
}
bool PPB_URLRequestInfo_Proxy::OnMessageReceived(const IPC::Message& msg) {