Index: chrome/browser/ui/views/omnibox/omnibox_view_views.cc |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc |
index ac4da733a938a0119c20736bfd5ad99b1a6d4fc3..5098762b1cf28ef4f19ba50962d0be5008301b37 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc |
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc |
@@ -223,8 +223,6 @@ void OmniboxViewViews::ResetTabState(content::WebContents* web_contents) { |
} |
void OmniboxViewViews::Update() { |
- UpdatePlaceholderText(); |
- |
const ToolbarModel::SecurityLevel old_security_level = security_level_; |
security_level_ = controller()->GetToolbarModel()->GetSecurityLevel(false); |
if (model()->UpdatePermanentText()) { |
@@ -258,11 +256,6 @@ void OmniboxViewViews::Update() { |
} |
} |
-void OmniboxViewViews::UpdatePlaceholderText() { |
- if (OmniboxFieldTrial::DisplayHintTextWhenPossible()) |
- set_placeholder_text(GetHintText()); |
-} |
- |
base::string16 OmniboxViewViews::GetText() const { |
// TODO(oshima): IME support |
return text(); |