summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa
diff options
context:
space:
mode:
authornsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-14 23:25:51 +0000
committernsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-14 23:25:51 +0000
commit69499241c69f2b5eec44e1e17b04e8267d61cea4 (patch)
tree112a93a59b9f2dc1f7eeee67badd656d3e3854f5 /chrome/browser/cocoa
parent082fd514a674060c2fe073bac8c22ac482cb6dd6 (diff)
downloadchromium_src-69499241c69f2b5eec44e1e17b04e8267d61cea4.zip
chromium_src-69499241c69f2b5eec44e1e17b04e8267d61cea4.tar.gz
chromium_src-69499241c69f2b5eec44e1e17b04e8267d61cea4.tar.bz2
Revert 44572 - [Mac] Update locationbar icon as user types.
Update in |OnChanged()|, just like Windows. BUG=41362 TEST=Type "www.google.com". You should have a globe icon. TEST=Add a space after first 'w'. Should get search icon. TEST=Generally, icon will switch around as you type. Review URL: http://codereview.chromium.org/1640012 TBR=shess@chromium.org Review URL: http://codereview.chromium.org/1600027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44577 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r--chrome/browser/cocoa/location_bar_view_mac.mm3
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/cocoa/location_bar_view_mac.mm b/chrome/browser/cocoa/location_bar_view_mac.mm
index 817cc3e..9c16199 100644
--- a/chrome/browser/cocoa/location_bar_view_mac.mm
+++ b/chrome/browser/cocoa/location_bar_view_mac.mm
@@ -322,9 +322,6 @@ void LocationBarViewMac::OnChangedImpl(AutocompleteTextField* field,
}
void LocationBarViewMac::OnChanged() {
- // Update the location-bar icon.
- SetIcon(edit_view_->GetIcon());
-
// Unfortunately, the unit-test Profile doesn't have the right stuff
// setup to do what GetKeywordName() needs to do. So do that out
// here where we have a Profile and pass it into OnChangedImpl().