diff options
Diffstat (limited to 'chrome/browser/gtk/browser_toolbar_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/browser_toolbar_gtk.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/gtk/browser_toolbar_gtk.cc b/chrome/browser/gtk/browser_toolbar_gtk.cc index b7b96d2..6bdb18e 100644 --- a/chrome/browser/gtk/browser_toolbar_gtk.cc +++ b/chrome/browser/gtk/browser_toolbar_gtk.cc @@ -69,10 +69,6 @@ const int kToolbarHeightLocationBarOnly = kToolbarHeight - 2; // Interior spacing between toolbar widgets. const int kToolbarWidgetSpacing = 4; -// The color used as the base[] color of the location entry during a secure -// connection. -const GdkColor kSecureColor = GDK_COLOR_RGB(255, 245, 195); - } // namespace // BrowserToolbarGtk, public --------------------------------------------------- @@ -596,14 +592,6 @@ gboolean BrowserToolbarGtk::OnLocationHboxExpose(GtkWidget* location_hbox, (right->allocation.y - left->allocation.y) + right->allocation.height }; - // Make sure our off screen entry has the correct base color if we're in - // secure mode. - gtk_widget_modify_base( - offscreen_entry_.get(), GTK_STATE_NORMAL, - (browser_->toolbar_model()->GetSchemeSecurityLevel() == - ToolbarModel::SECURE) ? - &kSecureColor : NULL); - gtk_util::DrawTextEntryBackground(offscreen_entry_.get(), location_hbox, &e->area, &rec); |