| 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 0a5408f773d82ef7f2eb05268c79af69a0277146..ca589f419e42d0be0bffe937c0caa703815b45ef 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| @@ -236,8 +236,7 @@ void LocationBarView::Init() {
|
| }
|
|
|
| if (extensions::switch_utils::IsActionBoxEnabled()) {
|
| - action_box_button_view_ = new ActionBoxButtonView(
|
| - ExtensionSystem::Get(profile_)->extension_service());
|
| + action_box_button_view_ = new ActionBoxButtonView(profile_);
|
| AddChildView(action_box_button_view_);
|
| } else if (browser_defaults::bookmarks_enabled && (mode_ == NORMAL)) {
|
| // Note: condition above means that the star and ChromeToMobile icons are
|
| @@ -444,6 +443,8 @@ views::View* LocationBarView::GetPageActionView(
|
| void LocationBarView::SetStarToggled(bool on) {
|
| if (star_view_)
|
| star_view_->SetToggled(on);
|
| + if (action_box_button_view_)
|
| + action_box_button_view_->SetBookmarkState(on);
|
| }
|
|
|
| void LocationBarView::ShowStarBubble(const GURL& url, bool newly_bookmarked) {
|
|
|