Commit 212c9ef6 authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

weblayer: removes unnecessary call to InfoBarService

We have the same code a few lines down.

BUG=none
TEST=none

Change-Id: Icb461d0257fed152b3ec01596afd875b25fa92e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2519939
Commit-Queue: Colin Blundell <blundell@chromium.org>
Reviewed-by: default avatarColin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824347}
parent d35ad04a
......@@ -302,10 +302,6 @@ TabImpl::TabImpl(ProfileImpl* profile,
navigation_controller_ = std::make_unique<NavigationControllerImpl>(this);
#if defined(OS_ANDROID)
InfoBarService::CreateForWebContents(web_contents_.get());
#endif
find_in_page::FindTabHelper::CreateForWebContents(web_contents_.get());
GetFindTabHelper()->AddObserver(this);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment