Index: chrome/browser/ui/webui/ntp/bookmarks_handler.cc |
=================================================================== |
--- chrome/browser/ui/webui/ntp/bookmarks_handler.cc (revision 98327) |
+++ chrome/browser/ui/webui/ntp/bookmarks_handler.cc (working copy) |
@@ -77,7 +77,7 @@ |
const BookmarkNode* child = node->GetChild(i); |
extension_bookmark_helpers::AddNode(child, items, false); |
} |
- if (node == model->bookmark_bar_node()) |
+ if (node == model->bookmark_bar_node() && model->other_node()->child_count()) |
extension_bookmark_helpers::AddNode(model->other_node(), items, false); |
base::ListValue* navigation_items = new base::ListValue(); |