Index: chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc |
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc |
index 9808dc1b666e9bf12ef1062ce4bb8ce90235f368..66aef8123fa940e9339716ccd73d747f37be0e05 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc |
@@ -98,7 +98,7 @@ BookmarkBubbleView::~BookmarkBubbleView() { |
BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile_); |
const BookmarkNode* node = model->GetMostRecentlyAddedUserNodeForURL(url_); |
if (node) |
- model->Remove(node->parent(), node->parent()->GetIndexOf(node)); |
+ model->Remove(node); |
} |
// |parent_combobox_| needs to be destroyed before |parent_model_| as it |
// uses |parent_model_| in its destructor. |