Index: chrome/browser/history/android/bookmark_model_sql_handler.cc |
diff --git a/chrome/browser/history/android/bookmark_model_sql_handler.cc b/chrome/browser/history/android/bookmark_model_sql_handler.cc |
index 3c9e5e275be232c4f83f3d90d75cf4eab9323f44..73fb8d88b4c35b4666e55b4d70f562f06e6601f5 100644 |
--- a/chrome/browser/history/android/bookmark_model_sql_handler.cc |
+++ b/chrome/browser/history/android/bookmark_model_sql_handler.cc |
@@ -61,8 +61,7 @@ void BookmarkModelSQLHandler::Task::RemoveBookmark(const GURL& url) { |
bookmark_model->GetNodesByURL(url, &nodes); |
for (std::vector<const BookmarkNode*>::iterator i = nodes.begin(); |
i != nodes.end(); ++i) { |
- const BookmarkNode* parent_node = (*i)->parent(); |
- bookmark_model->Remove(parent_node, parent_node->GetIndexOf(*i)); |
+ bookmark_model->Remove(*i); |
} |
} |