Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index c872c14071a6f3ade7ca266b59e489dd2e50c630..65bf3e23c054a6aab0a3a074170b7628fc2ee535 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -1568,7 +1568,9 @@ void WebContentsImpl::RequestMediaAccessPermission( |
if (delegate_) |
delegate_->RequestMediaAccessPermission(this, request, callback); |
else |
- callback.Run(MediaStreamDevices(), scoped_ptr<MediaStreamUI>()); |
+ callback.Run(MediaStreamDevices(), |
+ MEDIA_DEVICE_INVALID_STATE, |
+ scoped_ptr<MediaStreamUI>()); |
} |
SessionStorageNamespace* WebContentsImpl::GetSessionStorageNamespace( |