summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 17:47:06 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 17:47:06 +0000
commit3bf7b36097337d487024f9ad7843d3183ea24593 (patch)
tree588cdd99d771b07d87329dc6653200962f1739f0 /chrome/browser/cocoa
parent77e74dbed3b57987515c260b651b72cec15825dc (diff)
downloadchromium_src-3bf7b36097337d487024f9ad7843d3183ea24593.zip
chromium_src-3bf7b36097337d487024f9ad7843d3183ea24593.tar.gz
chromium_src-3bf7b36097337d487024f9ad7843d3183ea24593.tar.bz2
Mac: Make clang compile unit_tests.
BUG=TEST=none Review URL: http://codereview.chromium.org/3012045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54924 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r--chrome/browser/cocoa/bookmark_bar_folder_controller_unittest.mm2
-rw-r--r--chrome/browser/cocoa/hover_image_button_unittest.mm1
2 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_folder_controller_unittest.mm b/chrome/browser/cocoa/bookmark_bar_folder_controller_unittest.mm
index fed8968..4080296 100644
--- a/chrome/browser/cocoa/bookmark_bar_folder_controller_unittest.mm
+++ b/chrome/browser/cocoa/bookmark_bar_folder_controller_unittest.mm
@@ -121,7 +121,7 @@ const int kLotsOfNodesCount = 150;
class BookmarkBarFolderControllerTest : public CocoaTest {
public:
BrowserTestHelper helper_;
- scoped_nsobject<BookmarkBarController> bar_;
+ scoped_nsobject<BookmarkBarControllerChildFolderRedirect> bar_;
const BookmarkNode* folderA_; // owned by model
const BookmarkNode* longTitleNode_; // owned by model
diff --git a/chrome/browser/cocoa/hover_image_button_unittest.mm b/chrome/browser/cocoa/hover_image_button_unittest.mm
index 9d063bf..116a646 100644
--- a/chrome/browser/cocoa/hover_image_button_unittest.mm
+++ b/chrome/browser/cocoa/hover_image_button_unittest.mm
@@ -20,7 +20,6 @@ class HoverImageButtonTest : public CocoaTest {
NSRect content_frame = [[test_window() contentView] frame];
scoped_nsobject<HoverImageButton> button(
[[HoverImageButton alloc] initWithFrame:content_frame]);
- NSRect frame = NSMakeRect(0, 0, 30, 30);
button_ = button.get();
[[test_window() contentView] addSubview:button_];
}