Index: chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
=================================================================== |
--- chrome/browser/ui/views/omnibox/omnibox_view_win.cc (revision 220446) |
+++ chrome/browser/ui/views/omnibox/omnibox_view_win.cc (working copy) |
@@ -606,8 +606,7 @@ |
void OmniboxViewWin::Update() { |
const ToolbarModel::SecurityLevel old_security_level = security_level_; |
security_level_ = controller()->GetToolbarModel()->GetSecurityLevel(false); |
- if (model()->UpdatePermanentText( |
- controller()->GetToolbarModel()->GetText(true))) { |
+ if (model()->UpdatePermanentText()) { |
ScopedFreeze freeze(this, GetTextObjectModel()); |
// Tweak: if the user had all the text selected, select all the new text. |