Index: components/bookmarks/browser/bookmark_index_unittest.cc |
diff --git a/components/bookmarks/browser/bookmark_index_unittest.cc b/components/bookmarks/browser/bookmark_index_unittest.cc |
index 22efeaaa754a5a4bc5b4d61333b23f02b6a63b87..cab18e56987f86637307686fa8d73c3d1cc0b2e8 100644 |
--- a/components/bookmarks/browser/bookmark_index_unittest.cc |
+++ b/components/bookmarks/browser/bookmark_index_unittest.cc |
@@ -452,7 +452,7 @@ TEST_F(BookmarkIndexTest, Remove) { |
AddBookmarks(titles, urls, arraysize(titles)); |
// Remove the node and make sure we don't get back any results. |
- model_->Remove(model_->other_node(), 0); |
+ model_->Remove(model_->other_node()->GetChild(0)); |
ExpectMatches("A", NULL, 0U); |
} |