Index: chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc |
diff --git a/chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc b/chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc |
index c252dbe147429354258e93a3641f38b255070373..b0a51f9e791ec4bfa5f74023f926e3d22a3f24ec 100644 |
--- a/chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc |
+++ b/chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc |
@@ -55,7 +55,7 @@ TEST_F(BookmarkUIUtilsTest, HasBookmarkURLs) { |
// folder to create a two level hierarchy. |
// But first we have to remove the URL from |folder1|. |
- model->Remove(folder1, 0); |
+ model->Remove(folder1->GetChild(0)); |
const BookmarkNode* subfolder1 = |
model->AddFolder(folder1, 0, ASCIIToUTF16("Subfolder1")); |
@@ -114,7 +114,7 @@ TEST_F(BookmarkUIUtilsTest, HasBookmarkURLsAllowedInIncognitoMode) { |
// folder to create a two level hierarchy. |
// But first we have to remove the URL from |folder1|. |
- model->Remove(folder1, 0); |
+ model->Remove(folder1->GetChild(0)); |
const BookmarkNode* subfolder1 = |
model->AddFolder(folder1, 0, ASCIIToUTF16("Subfolder1")); |