diff options
author | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 15:22:31 +0000 |
---|---|---|
committer | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 15:22:31 +0000 |
commit | cd6c75b82de639cf5b11a85ffeb47ea9206e5375 (patch) | |
tree | 5f361c9d11eef2289de42c99af80d7e007780273 /chrome/browser/cocoa/find_bar_bridge.mm | |
parent | e96833357a87a977afb7f171729e0d7c615e5043 (diff) | |
download | chromium_src-cd6c75b82de639cf5b11a85ffeb47ea9206e5375.zip chromium_src-cd6c75b82de639cf5b11a85ffeb47ea9206e5375.tar.gz chromium_src-cd6c75b82de639cf5b11a85ffeb47ea9206e5375.tar.bz2 |
Unittest for FindBarCocoaController.
TEST=The new unittest passes.
BUG=10802
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14424 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/find_bar_bridge.mm')
-rw-r--r-- | chrome/browser/cocoa/find_bar_bridge.mm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/cocoa/find_bar_bridge.mm b/chrome/browser/cocoa/find_bar_bridge.mm index 415273b..d8eb802 100644 --- a/chrome/browser/cocoa/find_bar_bridge.mm +++ b/chrome/browser/cocoa/find_bar_bridge.mm @@ -5,9 +5,8 @@ #import "chrome/browser/cocoa/find_bar_bridge.h" #import "chrome/browser/cocoa/find_bar_cocoa_controller.h" -FindBarBridge::FindBarBridge(BrowserWindowCocoa* window) { - cocoa_controller_.reset( - [[FindBarCocoaController alloc] initWithBrowserWindow:window]); +FindBarBridge::FindBarBridge() { + cocoa_controller_.reset([[FindBarCocoaController alloc] init]); [cocoa_controller_ setFindBarBridge:this]; } |