summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-26 19:13:08 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-26 19:13:08 +0000
commitd665d12de993bc2eb904cfa9607661ffc6f553b9 (patch)
tree35d625564c0ac77b9e1a79dc098c677a02ac21ca /chrome/browser/autocomplete
parent64c67f0fdbca63433f52127b3725bcd2c3417b36 (diff)
downloadchromium_src-d665d12de993bc2eb904cfa9607661ffc6f553b9.zip
chromium_src-d665d12de993bc2eb904cfa9607661ffc6f553b9.tar.gz
chromium_src-d665d12de993bc2eb904cfa9607661ffc6f553b9.tar.bz2
[Mac] Adjust Omnibox implementation to not break undo chain.
This does not fix undo, it just makes the implementation break it less. BUG=18084 TEST=Omnibox should continue to work. Review URL: http://codereview.chromium.org/337027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit_view_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
index 0fe9e1e..27c25a9 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
@@ -430,7 +430,7 @@ void AutocompleteEditViewMac::SetText(const std::wstring& display_text) {
range:ComponentToNSRange(parts.scheme)];
}
- [field_ setObjectValue:as];
+ [field_ setAttributedStringValue:as];
// TODO(shess): This may be an appropriate place to call:
// controller_->OnChanged();