Index: content/browser/browser_plugin/browser_plugin_guest.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc |
index 916b2dcd371c6d7e4a741e53b991643e3f31542d..92d311edab02cba5033dea9875c0a9a222bc895e 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -179,7 +179,9 @@ class BrowserPluginGuest::MediaRequest : public PermissionRequest { |
web_contents->RequestMediaAccessPermission(request_, callback_); |
} else { |
// Deny the request. |
- callback_.Run(MediaStreamDevices(), scoped_ptr<MediaStreamUI>()); |
+ callback_.Run(MediaStreamDevices(), |
+ MEDIA_DEVICE_INVALID_STATE, |
+ scoped_ptr<MediaStreamUI>()); |
} |
} |