Index: chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa_unittest.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa_unittest.mm |
index 58d6f725e3fa3b714ca51299f074c05870f5ed88..bc3e161fb519c2a2efe96f50ce992ff1d1edfc6f 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa_unittest.mm |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa_unittest.mm |
@@ -56,7 +56,7 @@ TEST_F(BookmarkModelObserverForCocoaTest, TestCallback) { |
EXPECT_EQ(3U, pings); |
EXPECT_EQ(0U, deletions); |
- model->Remove(node->parent(), 0); |
+ model->Remove(node->parent()->GetChild(0)); |
EXPECT_EQ(4U, pings); |
EXPECT_EQ(1U, deletions); |
} |