Index: content/public/browser/web_contents_delegate.cc |
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc |
index efbebb41ed7117a9a5c4c602bb527e69065ea2e8..b85daaba7a31580dc2920148a10ddffd33eedb91 100644 |
--- a/content/public/browser/web_contents_delegate.cc |
+++ b/content/public/browser/web_contents_delegate.cc |
@@ -160,7 +160,9 @@ void WebContentsDelegate::RequestMediaAccessPermission( |
WebContents* web_contents, |
const MediaStreamRequest& request, |
const MediaResponseCallback& callback) { |
- callback.Run(MediaStreamDevices(), scoped_ptr<MediaStreamUI>()); |
+ callback.Run(MediaStreamDevices(), |
+ MEDIA_DEVICE_INVALID_STATE, |
+ scoped_ptr<MediaStreamUI>()); |
} |
bool WebContentsDelegate::RequestPpapiBrokerPermission( |