| 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..ea7f212a39731295c25343b17085633d58b34527 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::InfoBarManagerFromWebContents(new_contents) : NULL;
|
| + infobar_container->ChangeInfoBarManager(new_infobar_manager);
|
|
|
| Java_Tab_swapWebContents(
|
| env,
|
|
|