| Index: webkit/plugins/ppapi/ppb_video_capture_impl.cc
|
| ===================================================================
|
| --- webkit/plugins/ppapi/ppb_video_capture_impl.cc (revision 150440)
|
| +++ webkit/plugins/ppapi/ppb_video_capture_impl.cc (working copy)
|
| @@ -312,6 +312,10 @@
|
| if (succeeded)
|
| devices_data_ = devices;
|
|
|
| + PluginInstance* instance = ResourceHelper::GetPluginInstance(this);
|
| + if (instance)
|
| + instance->delegate()->StopEnumerateDevices(request_id);
|
| +
|
| OnEnumerateDevicesComplete(succeeded ? PP_OK : PP_ERROR_FAILED, devices);
|
| }
|
|
|
|
|