Index: ppapi/proxy/ppb_pdf_proxy.cc |
diff --git a/ppapi/proxy/ppb_pdf_proxy.cc b/ppapi/proxy/ppb_pdf_proxy.cc |
index f7dbb28698e07b3a136843d1cea5129e10a4c935..6df535576ff43694894bc0802b94d0f16a95c47a 100644 |
--- a/ppapi/proxy/ppb_pdf_proxy.cc |
+++ b/ppapi/proxy/ppb_pdf_proxy.cc |
@@ -75,8 +75,8 @@ PP_Resource GetFontFileWithFallback( |
if (result.is_null()) |
return 0; |
- linked_ptr<PrivateFontFile> object(new PrivateFontFile(result)); |
- return PluginResourceTracker::GetInstance()->AddResource(object); |
+ return PluginResourceTracker::GetInstance()->AddResource( |
+ new PrivateFontFile(result)); |
} |
bool GetFontTableForPrivateFontFile(PP_Resource font_file, |