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..73409912083540af9f12bbd6ba5d6c1c93c01a47 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, parent->GetChild(index_)); |
} |
int BookmarkAddOperation::GetUndoLabelId() const { |