| Index: ppapi/proxy/ppb_graphics_2d_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_graphics_2d_proxy.cc b/ppapi/proxy/ppb_graphics_2d_proxy.cc
|
| index c74e244d6ef78ae82e485bad14e48564a033b4c2..a0037924e594ced98fb6c048933a0a2c4db096fb 100644
|
| --- a/ppapi/proxy/ppb_graphics_2d_proxy.cc
|
| +++ b/ppapi/proxy/ppb_graphics_2d_proxy.cc
|
| @@ -182,9 +182,8 @@ PP_Resource PPB_Graphics2D_Proxy::CreateProxyResource(
|
| &result));
|
| if (result.is_null())
|
| return 0;
|
| - linked_ptr<Graphics2D> graphics_2d(new Graphics2D(result, size,
|
| - is_always_opaque));
|
| - return PluginResourceTracker::GetInstance()->AddResource(graphics_2d);
|
| + return PluginResourceTracker::GetInstance()->AddResource(
|
| + new Graphics2D(result, size, is_always_opaque));
|
| }
|
|
|
| bool PPB_Graphics2D_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
|
|