| Index: ppapi/proxy/ppb_video_capture_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_video_capture_proxy.cc b/ppapi/proxy/ppb_video_capture_proxy.cc
|
| index dc253d14855f1d4d680719c4517f28b1f9cea8f5..e9573158938f4a4e15b5fec0fa398d338f48c988 100644
|
| --- a/ppapi/proxy/ppb_video_capture_proxy.cc
|
| +++ b/ppapi/proxy/ppb_video_capture_proxy.cc
|
| @@ -301,8 +301,8 @@ PP_Resource PPB_VideoCapture_Proxy::CreateProxyResource(PP_Instance instance) {
|
| if (result.is_null())
|
| return 0;
|
|
|
| - linked_ptr<VideoCapture> object(new VideoCapture(result));
|
| - return PluginResourceTracker::GetInstance()->AddResource(object);
|
| + return PluginResourceTracker::GetInstance()->AddResource(
|
| + new VideoCapture(result));
|
| }
|
|
|
| bool PPB_VideoCapture_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
|
|