Index: chrome/browser/android/bookmarks/bookmarks_bridge.cc |
diff --git a/chrome/browser/android/bookmarks/bookmarks_bridge.cc b/chrome/browser/android/bookmarks/bookmarks_bridge.cc |
index b6e052b8093f20a99b352755cdcc28e75dc34c82..236d3a16bd908d108cda7e3e76a31d2e35591005 100644 |
--- a/chrome/browser/android/bookmarks/bookmarks_bridge.cc |
+++ b/chrome/browser/android/bookmarks/bookmarks_bridge.cc |
@@ -614,12 +614,10 @@ void BookmarksBridge::DeleteBookmark(JNIEnv* env, |
return; |
} |
- if (partner_bookmarks_shim_->IsPartnerBookmark(node)) { |
+ if (partner_bookmarks_shim_->IsPartnerBookmark(node)) |
partner_bookmarks_shim_->RemoveBookmark(node); |
- } else { |
- const BookmarkNode* parent_node = GetParentNode(node); |
- bookmark_model_->Remove(parent_node, parent_node->GetIndexOf(node)); |
- } |
+ else |
+ bookmark_model_->Remove(node); |
} |
void BookmarksBridge::MoveBookmark(JNIEnv* env, |