summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/bookmarks/browser/bookmark_model.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/bookmarks/browser/bookmark_model.cc b/components/bookmarks/browser/bookmark_model.cc
index 80808ca..10d5b2f 100644
--- a/components/bookmarks/browser/bookmark_model.cc
+++ b/components/bookmarks/browser/bookmark_model.cc
@@ -886,7 +886,7 @@ void BookmarkModel::RemoveNodeAndGetRemovedUrls(BookmarkNode* node,
// This method does not explicitly acquires a lock.
url_lock_.AssertAcquired();
DCHECK(removed_urls);
- BookmarkNode* parent = AsMutable(node->parent());
+ BookmarkNode* parent = node->parent();
DCHECK(parent);
parent->Remove(node);
RemoveNode(node, removed_urls);