Index: chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc |
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc b/chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc |
index 50b1239cce5cc5e1a305fa6521e9c0637624309a..39881dd0abdc57fb0480160734cd1c55255e9bbb 100644 |
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc |
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc |
@@ -9,6 +9,7 @@ |
#include "chrome/browser/content_settings/tab_specific_content_settings.h" |
#include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
#include "chrome/browser/infobars/infobar_delegate.h" |
+#include "chrome/browser/infobars/infobar_manager.h" |
#include "chrome/browser/infobars/infobar_service.h" |
#include "chrome/browser/media/media_capture_devices_dispatcher.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -236,7 +237,8 @@ TEST_F(ContentSettingBubbleModelTest, BlockedMediastreamMicAndCamera) { |
InfoBarService* infobar_service = |
InfoBarService::FromWebContents(web_contents()); |
- infobar_service->RemoveInfoBar(infobar_service->infobar_at(0)); |
+ infobar_service->infobar_manager().RemoveInfoBar( |
+ infobar_service->infobar_manager().infobar_at(0)); |
} |
TEST_F(ContentSettingBubbleModelTest, MediastreamMic) { |