| Index: webkit/plugins/ppapi/ppb_font_impl.cc
|
| diff --git a/webkit/plugins/ppapi/ppb_font_impl.cc b/webkit/plugins/ppapi/ppb_font_impl.cc
|
| index 0173deab66b50677f172877d9bf201edd25aa7eb..fbbddea43641ddd4a2ee49f452b67a002860574e 100644
|
| --- a/webkit/plugins/ppapi/ppb_font_impl.cc
|
| +++ b/webkit/plugins/ppapi/ppb_font_impl.cc
|
| @@ -62,8 +62,7 @@ PP_Resource PPB_Font_Impl::Create(PluginInstance* instance,
|
| const PP_FontDescription_Dev& description) {
|
| if (!::ppapi::FontImpl::IsPPFontDescriptionValid(description))
|
| return 0;
|
| - scoped_refptr<PPB_Font_Impl> font(new PPB_Font_Impl(instance, description));
|
| - return font->GetReference();
|
| + return (new PPB_Font_Impl(instance, description))->GetReference();
|
| }
|
|
|
| ::ppapi::thunk::PPB_Font_API* PPB_Font_Impl::AsPPB_Font_API() {
|
|
|