Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc |
=================================================================== |
--- content/renderer/pepper/pepper_plugin_delegate_impl.cc (revision 150592) |
+++ content/renderer/pepper/pepper_plugin_delegate_impl.cc (working copy) |
@@ -1506,19 +1506,6 @@ |
return request_id; |
} |
-void PepperPluginDelegateImpl::StopEnumerateDevices(int request_id) { |
-#if defined(ENABLE_WEBRTC) |
- // Need to post task since this function might be called inside the callback |
- // of EnumerateDevices. |
- MessageLoop::current()->PostTask( |
- FROM_HERE, |
- base::Bind( |
- &MediaStreamDispatcher::StopEnumerateDevices, |
- base::Unretained(render_view_->media_stream_dispatcher()), |
- request_id, device_enumeration_event_handler_.get()->AsWeakPtr())); |
-#endif |
-} |
- |
bool PepperPluginDelegateImpl::OnMessageReceived(const IPC::Message& message) { |
bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(PepperPluginDelegateImpl, message) |