Index: chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript.mm |
diff --git a/chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript.mm b/chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript.mm |
index b0cacec7e14dc712f85526711daa436833213100..cc2e8b7ad79a0a826d119627fdd6be0995161372 100644 |
--- a/chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript.mm |
+++ b/chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript.mm |
@@ -86,7 +86,7 @@ using bookmarks::BookmarkNode; |
if (!model) |
return; |
- model->Remove(bookmarkNode_, position); |
+ model->Remove(bookmarkNode_->GetChild(position)); |
} |
- (NSArray*)bookmarkItems { |
@@ -173,7 +173,7 @@ using bookmarks::BookmarkNode; |
if (!model) |
return; |
- model->Remove(bookmarkNode_, position); |
+ model->Remove(bookmarkNode_->GetChild(position)); |
} |
- (int)calculatePositionOfBookmarkFolderAt:(int)index { |