| Index: chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
|
| diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
|
| index 62cb4e969f636b4279a3826ee067735aee2b92bd..28b29b6fd350e53008a7bdd4fea14970bf2535a5 100644
|
| --- a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
|
| +++ b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
|
| @@ -522,13 +522,15 @@ void OmniboxViewMac::ApplyTextAttributes(const string16& display_text,
|
| }
|
|
|
| void OmniboxViewMac::OnTemporaryTextMaybeChanged(const string16& display_text,
|
| - bool save_original_selection) {
|
| + bool save_original_selection,
|
| + bool notify_text_changed) {
|
| if (save_original_selection)
|
| saved_temporary_selection_ = GetSelectedRange();
|
|
|
| suggest_text_length_ = 0;
|
| SetWindowTextAndCaretPos(display_text, display_text.size(), false, false);
|
| - model()->OnChanged();
|
| + if (notify_text_changed)
|
| + model()->OnChanged();
|
| [field_ clearUndoChain];
|
| }
|
|
|
|
|