Index: chrome/browser/media/media_stream_infobar_delegate.cc |
diff --git a/chrome/browser/media/media_stream_infobar_delegate.cc b/chrome/browser/media/media_stream_infobar_delegate.cc |
index 5f0e875c2b2a72ebbe0daf6f4ab3d9919eb2f431..76f6c5305ce0ee4f78e863cfe024a4036125f29e 100644 |
--- a/chrome/browser/media/media_stream_infobar_delegate.cc |
+++ b/chrome/browser/media/media_stream_infobar_delegate.cc |
@@ -37,12 +37,7 @@ MediaStreamInfoBarDelegate::~MediaStreamInfoBarDelegate() { |
// static |
bool MediaStreamInfoBarDelegate::Create( |
content::WebContents* web_contents, |
- const content::MediaStreamRequest& request, |
- const content::MediaResponseCallback& callback) { |
- scoped_ptr<MediaStreamDevicesController> controller( |
- new MediaStreamDevicesController(web_contents, request, callback)); |
- if (!controller->IsAskingForAudio() && !controller->IsAskingForVideo()) |
- return false; |
+ scoped_ptr<MediaStreamDevicesController> controller) { |
InfoBarService* infobar_service = |
InfoBarService::FromWebContents(web_contents); |