Index: components/bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc |
diff --git a/components/bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc b/components/bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc |
index 379e4ec710d4651040d02c34f34de9ef116b5786..f8cefa928bc028b8b97c99741355b2b02bcbc008 100644 |
--- a/components/bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc |
+++ b/components/bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc |
@@ -88,7 +88,7 @@ TEST_F(BookmarkExpandedStateTrackerTest, SetExpandedNodes) { |
EXPECT_EQ(nodes, tracker->GetExpandedNodes()); |
// Remove the folder, which should remove it from the list of expanded nodes. |
- model_->Remove(model_->bookmark_bar_node(), 0); |
+ model_->Remove(model_->bookmark_bar_node()->GetChild(0)); |
nodes.erase(n1); |
n1 = NULL; |
EXPECT_EQ(nodes, tracker->GetExpandedNodes()); |