| Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| index 0e78556094e8bad8906e06449c721bf5c00879af..a5195bdc14689d10b88cb522a16508c65b1a180d 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| @@ -22,16 +22,12 @@
|
| #include "chrome/browser/extensions/location_bar_controller.h"
|
| #include "chrome/browser/extensions/tab_helper.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| -#include "chrome/browser/search/instant_service.h"
|
| -#include "chrome/browser/search/instant_service_factory.h"
|
| -#include "chrome/browser/search/search.h"
|
| #include "chrome/browser/search_engines/template_url_service_factory.h"
|
| #include "chrome/browser/translate/chrome_translate_client.h"
|
| #include "chrome/browser/translate/translate_service.h"
|
| #include "chrome/browser/ui/autofill/save_card_bubble_controller_impl.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/ui/browser_finder.h"
|
| -#include "chrome/browser/ui/browser_instant_controller.h"
|
| #include "chrome/browser/ui/browser_window.h"
|
| #include "chrome/browser/ui/content_settings/content_setting_bubble_model.h"
|
| #include "chrome/browser/ui/layout_constants.h"
|
| @@ -1247,11 +1243,6 @@ const char* LocationBarView::GetClassName() const {
|
| }
|
|
|
| void LocationBarView::OnBoundsChanged(const gfx::Rect& previous_bounds) {
|
| - InstantService* instant_service =
|
| - InstantServiceFactory::GetForProfile(profile());
|
| - if (instant_service)
|
| - instant_service->OnOmniboxStartMarginChanged(bounds().x());
|
| -
|
| OmniboxPopupView* popup = omnibox_view_->model()->popup_model()->view();
|
| if (popup->IsOpen())
|
| popup->UpdatePopupAppearance();
|
|
|