summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/toolbar_controller.mm
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-27 20:06:29 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-27 20:06:29 +0000
commite8c4e753d0a2bcdac816d472d9afa50fdafae7ba (patch)
treebe6849c27a59ee63667fdde7228544b8c80a603d /chrome/browser/cocoa/toolbar_controller.mm
parentd3b2e75994860048bf89ccbfc55c5b9c8d53532d (diff)
downloadchromium_src-e8c4e753d0a2bcdac816d472d9afa50fdafae7ba.zip
chromium_src-e8c4e753d0a2bcdac816d472d9afa50fdafae7ba.tar.gz
chromium_src-e8c4e753d0a2bcdac816d472d9afa50fdafae7ba.tar.bz2
Clean up construction of LocationBarViewMac objects.
This removes the need for SetField() accessors on AutocompleteEditViewMac and AutocompletePopupViewMac, and also removes the Init() wart on LocationBarViewMac. Now everything is wired up in the constructor. Review URL: http://codereview.chromium.org/92136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/toolbar_controller.mm')
-rw-r--r--chrome/browser/cocoa/toolbar_controller.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/toolbar_controller.mm b/chrome/browser/cocoa/toolbar_controller.mm
index 9cd7739..d2a986e 100644
--- a/chrome/browser/cocoa/toolbar_controller.mm
+++ b/chrome/browser/cocoa/toolbar_controller.mm
@@ -48,7 +48,6 @@ static NSString* const kStarredImageName = @"starred";
[self initCommandStatus:commands_];
locationBarView_.reset(new LocationBarViewMac(locationBar_, commands_,
toolbarModel_, profile_));
- locationBarView_->Init();
[locationBar_ setStringValue:@"http://dev.chromium.org"];
}