Index: chrome/test/gpu/webgl_infobar_browsertest.cc |
diff --git a/chrome/test/gpu/webgl_infobar_browsertest.cc b/chrome/test/gpu/webgl_infobar_browsertest.cc |
index 8040cae48367aaa7c924bdb59ae846f786cc0be0..2ebbb034a1fd306667a4891c4c7747a549b2d68a 100644 |
--- a/chrome/test/gpu/webgl_infobar_browsertest.cc |
+++ b/chrome/test/gpu/webgl_infobar_browsertest.cc |
@@ -7,7 +7,6 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/infobars/confirm_infobar_delegate.h" |
-#include "chrome/browser/infobars/infobar.h" |
#include "chrome/browser/infobars/infobar_service.h" |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_commands.h" |
@@ -20,6 +19,7 @@ |
#include "chrome/test/base/test_launcher_utils.h" |
#include "chrome/test/base/test_switches.h" |
#include "chrome/test/base/ui_test_utils.h" |
+#include "components/infobars/core/infobar.h" |
#include "content/public/browser/gpu_data_manager.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.h" |
@@ -132,7 +132,8 @@ IN_PROC_BROWSER_TEST_F(WebGLInfoBarTest, DISABLED_ContextLossInfoBarReload) { |
InfoBarService* infobar_service = InfoBarService::FromWebContents( |
browser()->tab_strip_model()->GetActiveWebContents()); |
ASSERT_EQ(1u, infobar_service->infobar_count()); |
- InfoBarDelegate* delegate = infobar_service->infobar_at(0)->delegate(); |
+ infobars::InfoBarDelegate* delegate = |
+ infobar_service->infobar_at(0)->delegate(); |
ASSERT_EQ(IDR_INFOBAR_3D_BLOCKED, delegate->GetIconID()); |
delegate->AsConfirmInfoBarDelegate()->Cancel(); |