| Index: chrome/browser/ui/gtk/bookmark_bar_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/bookmark_bar_gtk.cc b/chrome/browser/ui/gtk/bookmark_bar_gtk.cc
|
| index 97faad8fff0fb473886b69526d17365b2f2aba76..6e76c1e94f21c3c6dd9f5d2b52849ad2a59d3764 100644
|
| --- a/chrome/browser/ui/gtk/bookmark_bar_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/bookmark_bar_gtk.cc
|
| @@ -805,14 +805,11 @@ void BookmarkBarGtk::Observe(NotificationType type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| if (type == NotificationType::BROWSER_THEME_CHANGED) {
|
| - if (model_) {
|
| + if (model_ && model_->IsLoaded()) {
|
| // Regenerate the bookmark bar with all new objects with their theme
|
| // properties set correctly for the new theme.
|
| RemoveAllBookmarkButtons();
|
| CreateAllBookmarkButtons();
|
| - } else {
|
| - DLOG(ERROR) << "Received a theme change notification while we "
|
| - << "don't have a BookmarkModel. Taking no action.";
|
| }
|
|
|
| UpdateEventBoxPaintability();
|
|
|