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