Index: ppapi/proxy/ppb_file_system_proxy.cc |
diff --git a/ppapi/proxy/ppb_file_system_proxy.cc b/ppapi/proxy/ppb_file_system_proxy.cc |
index c13a163e09a53cadd34269f6ae76b92cb4877b6d..4851144de6b1fce2efaadd512951249a597d6b5a 100644 |
--- a/ppapi/proxy/ppb_file_system_proxy.cc |
+++ b/ppapi/proxy/ppb_file_system_proxy.cc |
@@ -144,8 +144,8 @@ PP_Resource PPB_FileSystem_Proxy::CreateProxyResource( |
if (result.is_null()) |
return 0; |
- linked_ptr<FileSystem> object(new FileSystem(result, type)); |
- return PluginResourceTracker::GetInstance()->AddResource(object); |
+ return PluginResourceTracker::GetInstance()->AddResource( |
+ new FileSystem(result, type)); |
} |
bool PPB_FileSystem_Proxy::OnMessageReceived(const IPC::Message& msg) { |