Index: chrome/browser/android/tab_android.cc |
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc |
index 91e131c971624e4dd4e5326c10a96682c3184f89..9e5ac9bc568b38d9a71d7d8a5402a7ccdb1d8807 100644 |
--- a/chrome/browser/android/tab_android.cc |
+++ b/chrome/browser/android/tab_android.cc |
@@ -229,9 +229,9 @@ void TabAndroid::SwapTabContents(content::WebContents* old_contents, |
Java_Tab_getNativeInfoBarContainer( |
env, |
weak_java_tab_.get(env).obj())); |
- InfoBarService* new_infobar_service = new_contents ? |
- InfoBarService::FromWebContents(new_contents) : NULL; |
- infobar_container->ChangeInfoBarService(new_infobar_service); |
+ InfoBarManager* new_infobar_manager = new_contents ? |
+ &InfoBarService::FromWebContents(new_contents)->infobar_manager() : NULL; |
+ infobar_container->ChangeInfoBarManager(new_infobar_manager); |
Java_Tab_swapWebContents( |
env, |