From e8c4e753d0a2bcdac816d472d9afa50fdafae7ba Mon Sep 17 00:00:00 2001 From: "shess@chromium.org" Date: Mon, 27 Apr 2009 20:06:29 +0000 Subject: 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 --- chrome/browser/cocoa/toolbar_controller.mm | 1 - 1 file changed, 1 deletion(-) (limited to 'chrome/browser/cocoa/toolbar_controller.mm') 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"]; } -- cgit v1.1