Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
index b2c6b7439a3a3f7d52317b8f28537d2cf262d654..8d9c8858b96ec1ae2ebe2e8fd86a3f181841efe3 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
@@ -1621,7 +1621,7 @@ void BookmarkBarView::UpdateColors() { |
} |
void BookmarkBarView::UpdateOtherBookmarksVisibility() { |
- bool has_other_children = model_->other_node()->child_count() > 0; |
+ bool has_other_children = !model_->other_node()->empty(); |
if (has_other_children == other_bookmarked_button_->IsVisible()) |
return; |
other_bookmarked_button_->SetVisible(has_other_children); |