Index: chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller_unittest.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller_unittest.mm |
index 6be269840ee0d01eb610343973bb5c8ac04e1ea6..bd8eda4644065f05b457fd20b9d8cca3083db013 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller_unittest.mm |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller_unittest.mm |
@@ -96,7 +96,7 @@ TEST_F(BookmarkEditorControllerTest, NodeDeleted) { |
// Delete the bookmark being edited and verify the sheet cancels itself: |
ASSERT_TRUE([test_window() attachedSheet]); |
BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile()); |
- model->Remove(default_parent_, 0); |
+ model->Remove(default_parent_->GetChild(0)); |
ASSERT_FALSE([test_window() attachedSheet]); |
} |