diff options
Diffstat (limited to 'chrome/browser/cocoa/bookmark_bar_controller_unittest.mm')
-rw-r--r-- | chrome/browser/cocoa/bookmark_bar_controller_unittest.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_controller_unittest.mm b/chrome/browser/cocoa/bookmark_bar_controller_unittest.mm index f9abec5..543a5b3 100644 --- a/chrome/browser/cocoa/bookmark_bar_controller_unittest.mm +++ b/chrome/browser/cocoa/bookmark_bar_controller_unittest.mm @@ -22,7 +22,7 @@ class BookmarkBarControllerTest : public testing::Test { bar_.reset( [[BookmarkBarController alloc] initWithProfile:helper_.GetProfile() contentArea:content_area_.get()]); - NSView* parent = [cocoa_helper_.window() contentView]; + NSView* parent = cocoa_helper_.contentView(); [parent addSubview:content_area_.get()]; [parent addSubview:[bar_ view]]; } |