summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/toolbar_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/toolbar_view.cc')
-rw-r--r--chrome/browser/views/toolbar_view.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/views/toolbar_view.cc b/chrome/browser/views/toolbar_view.cc
index 2d751d2..2d18cad 100644
--- a/chrome/browser/views/toolbar_view.cc
+++ b/chrome/browser/views/toolbar_view.cc
@@ -572,7 +572,6 @@ void ToolbarView::CreateCenterStack(Profile *profile) {
star_->set_host_view(this);
star_->set_bubble_positioner(this);
star_->Init();
- AddChildView(star_);
location_bar_ = new LocationBarView(profile, browser_->command_updater(),
model_, this,
@@ -586,6 +585,7 @@ void ToolbarView::CreateCenterStack(Profile *profile) {
LoadCenterStackImages();
+ AddChildView(star_);
location_bar_->SetAccessibleName(l10n_util::GetString(IDS_ACCNAME_LOCATION));
AddChildView(location_bar_);
location_bar_->Init();
@@ -664,6 +664,8 @@ void ToolbarView::LoadLeftSideControlsImages() {
}
void ToolbarView::LoadCenterStackImages() {
+ star_->LoadImages();
+
ThemeProvider* tp = GetThemeProvider();
SkColor color = tp->GetColor(BrowserThemeProvider::COLOR_BUTTON_BACKGROUND);