Index: components/bookmarks/managed/managed_bookmarks_tracker.cc |
diff --git a/components/bookmarks/managed/managed_bookmarks_tracker.cc b/components/bookmarks/managed/managed_bookmarks_tracker.cc |
index 5dd1accd1cb180b796b7e6bf48a5111a780b14b1..17eff02f91d22c33cb50633a4e3205140ef594ab 100644 |
--- a/components/bookmarks/managed/managed_bookmarks_tracker.cc |
+++ b/components/bookmarks/managed/managed_bookmarks_tracker.cc |
@@ -172,7 +172,7 @@ void ManagedBookmarksTracker::UpdateBookmarks(const BookmarkNode* folder, |
// Remove any extra children of |folder| that haven't been reused. |
while (folder->child_count() != folder_index) |
- model_->Remove(folder, folder_index); |
+ model_->Remove(folder->GetChild(folder_index)); |
} |
// static |