summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_bar_controller_unittest.mm
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-20 16:32:57 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-20 16:32:57 +0000
commit07214a8e5f5b2c3aa5aa55d6c24e67f2e829a60a (patch)
tree2d80f7c471e0b1f5e196cdff566169ffbe1b4aa2 /chrome/browser/cocoa/bookmark_bar_controller_unittest.mm
parenta8a07ae9a396926d8b2e3c778f46cef94e453cc1 (diff)
downloadchromium_src-07214a8e5f5b2c3aa5aa55d6c24e67f2e829a60a.zip
chromium_src-07214a8e5f5b2c3aa5aa55d6c24e67f2e829a60a.tar.gz
chromium_src-07214a8e5f5b2c3aa5aa55d6c24e67f2e829a60a.tar.bz2
Add a unit test for BaseView. Add a helper to get the contentView more easily.
Review URL: http://codereview.chromium.org/82001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14030 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_bar_controller_unittest.mm')
-rw-r--r--chrome/browser/cocoa/bookmark_bar_controller_unittest.mm2
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]];
}