Index: components/undo/bookmark_undo_service.cc |
diff --git a/components/undo/bookmark_undo_service.cc b/components/undo/bookmark_undo_service.cc |
index 695bacb91a18d9ad354b81b53bf5ccf503c81639..21a34119ace45434643fc7134a78f74b42aa64c4 100644 |
--- a/components/undo/bookmark_undo_service.cc |
+++ b/components/undo/bookmark_undo_service.cc |
@@ -84,7 +84,7 @@ void BookmarkAddOperation::Undo() { |
bookmarks::GetBookmarkNodeByID(model, parent_id_); |
DCHECK(parent); |
- model->Remove(parent, index_); |
+ model->Remove(parent->GetChild(index_)); |
} |
int BookmarkAddOperation::GetUndoLabelId() const { |