Index: chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc |
diff --git a/chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc b/chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc |
index 6c9fb4a731c01ed2b7b9eb2d25792bb637e7aa91..4e0fa043cdadc40959c5a6a818bd9b124cc40a58 100644 |
--- a/chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc |
+++ b/chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc |
@@ -136,8 +136,7 @@ bool RemoveNode(BookmarkModel* model, |
return false; |
} |
- const BookmarkNode* parent = node->parent(); |
- model->Remove(parent, parent->GetIndexOf(node)); |
+ model->Remove(node); |
return true; |
} |