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..7af803f85f56f4fc2d28511a22ae80f6404cff9b 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" |
@@ -234,9 +235,9 @@ TEST_F(ContentSettingBubbleModelTest, BlockedMediastreamMicAndCamera) { |
CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA, |
std::string())); |
- InfoBarService* infobar_service = |
- InfoBarService::FromWebContents(web_contents()); |
- infobar_service->RemoveInfoBar(infobar_service->infobar_at(0)); |
+ InfoBarManager* infobar_manager = |
+ InfoBarService::FromWebContents(web_contents())->infobar_manager(); |
+ infobar_manager->RemoveInfoBar(infobar_manager->infobar_at(0)); |
} |
TEST_F(ContentSettingBubbleModelTest, MediastreamMic) { |