| Index: chrome/browser/android/tab_android.cc
|
| diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
|
| index c68eed167010569913729172295bc3677cfeb5a5..05476119674cab2204c5fb449986f9183218302e 100644
|
| --- a/chrome/browser/android/tab_android.cc
|
| +++ b/chrome/browser/android/tab_android.cc
|
| @@ -208,11 +208,8 @@ void TabAndroid::Observe(int type,
|
| if (popup_blocker_helper)
|
| num_popups = popup_blocker_helper->GetBlockedPopupsCount();
|
|
|
| - if (num_popups > 0) {
|
| - PopupBlockedInfoBarDelegate::Create(
|
| - InfoBarService::FromWebContents(web_contents()),
|
| - num_popups);
|
| - }
|
| + if (num_popups > 0)
|
| + PopupBlockedInfoBarDelegate::Create(web_contents(), num_popups);
|
|
|
| settings->SetBlockageHasBeenIndicated(CONTENT_SETTINGS_TYPE_POPUPS);
|
| }
|
|
|