| Index: chrome/browser/gtk/location_bar_view_gtk.cc
|
| diff --git a/chrome/browser/gtk/location_bar_view_gtk.cc b/chrome/browser/gtk/location_bar_view_gtk.cc
|
| index df065974f96e9a829bf199080d4cc0f80c62ba8f..60e9ea89c298ae4ee061c2712655840a4661b8e7 100644
|
| --- a/chrome/browser/gtk/location_bar_view_gtk.cc
|
| +++ b/chrome/browser/gtk/location_bar_view_gtk.cc
|
| @@ -268,7 +268,13 @@ void LocationBarViewGtk::Update(const TabContents* contents) {
|
| SetInfoText();
|
| location_entry_->Update(contents);
|
| // The security level (background color) could have changed, etc.
|
| - gtk_widget_queue_draw(hbox_.get());
|
| + if (theme_provider_->UseGtkTheme()) {
|
| + // In GTK mode, we need our parent to redraw, as it draws the text entry
|
| + // border.
|
| + gtk_widget_queue_draw(widget()->parent);
|
| + } else {
|
| + gtk_widget_queue_draw(widget());
|
| + }
|
| }
|
|
|
| void LocationBarViewGtk::OnAutocompleteAccept(const GURL& url,
|
|
|