Index: chrome/browser/autofill/autofill_browsertest.cc |
diff --git a/chrome/browser/autofill/autofill_browsertest.cc b/chrome/browser/autofill/autofill_browsertest.cc |
index 0edb8b15e715000143c9aeafeee4cbd89f521d3d..421debeffe9bed71a891e2cb2dea9acd966c0fec 100644 |
--- a/chrome/browser/autofill/autofill_browsertest.cc |
+++ b/chrome/browser/autofill/autofill_browsertest.cc |
@@ -9,12 +9,12 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/string16.h" |
#include "base/utf_string_conversions.h" |
+#include "chrome/browser/api/infobars/infobar_tab_service.h" |
#include "chrome/browser/autofill/autofill_common_test.h" |
#include "chrome/browser/autofill/autofill_profile.h" |
#include "chrome/browser/autofill/personal_data_manager.h" |
#include "chrome/browser/autofill/personal_data_manager_factory.h" |
#include "chrome/browser/autofill/personal_data_manager_observer.h" |
-#include "chrome/browser/infobars/infobar_tab_helper.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/translate/translate_infobar_delegate.h" |
#include "chrome/browser/translate/translate_manager.h" |
@@ -678,7 +678,7 @@ IN_PROC_BROWSER_TEST_F(AutofillTest, AutofillAfterTranslate) { |
render_view_host(), |
ChromeViewHostMsg_TranslateLanguageDetermined(0, "ja", true)); |
TranslateInfoBarDelegate* infobar = |
- chrome::GetActiveTabContents(browser())->infobar_tab_helper()-> |
+ InfoBarTabService::ForTab(chrome::GetActiveTabContents(browser()))-> |
GetInfoBarDelegateAt(0)->AsTranslateInfoBarDelegate(); |
ASSERT_TRUE(infobar != NULL); |