Index: chrome/browser/ui/omnibox/omnibox_edit_model.cc |
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.cc b/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
index 097dc7ca1bffa16604334691852fe6510b4cbaa0..160637b4e19179e905244d005ae36cff489ce6fc 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
@@ -913,8 +913,6 @@ bool OmniboxEditModel::AcceptKeyword(EnteredKeywordModeMethod entered_method) { |
DisplayTextFromUserText(match.fill_into_edit), |
save_original_selection, true); |
- view_->UpdatePlaceholderText(); |
- |
content::RecordAction(base::UserMetricsAction("AcceptedKeywordHint")); |
UMA_HISTOGRAM_ENUMERATION(kEnteredKeywordModeHistogram, entered_method, |
ENTERED_KEYWORD_MODE_NUM_ITEMS); |
@@ -954,8 +952,6 @@ void OmniboxEditModel::ClearKeyword(const base::string16& visible_text) { |
view_->SetWindowTextAndCaretPos(window_text.c_str(), keyword_.length(), |
false, true); |
} |
- |
- view_->UpdatePlaceholderText(); |
} |
void OmniboxEditModel::OnSetFocus(bool control_down) { |
@@ -1265,7 +1261,6 @@ bool OmniboxEditModel::OnAfterPossibleChange(const base::string16& old_text, |
selection_start); |
view_->UpdatePopup(); |
if (allow_exact_keyword_match_) { |
- view_->UpdatePlaceholderText(); |
UMA_HISTOGRAM_ENUMERATION(kEnteredKeywordModeHistogram, |
ENTERED_KEYWORD_MODE_VIA_SPACE_IN_MIDDLE, |
ENTERED_KEYWORD_MODE_NUM_ITEMS); |