| Index: chrome/browser/gtk/browser_toolbar_gtk.h
|
| diff --git a/chrome/browser/gtk/browser_toolbar_gtk.h b/chrome/browser/gtk/browser_toolbar_gtk.h
|
| index e6d76dc67174aa69ccfd694815142c51bbd07f6a..fefb000be65318466ee227f20cee1a3e5dd5972c 100644
|
| --- a/chrome/browser/gtk/browser_toolbar_gtk.h
|
| +++ b/chrome/browser/gtk/browser_toolbar_gtk.h
|
| @@ -49,7 +49,7 @@ class BrowserToolbarGtk : public CommandUpdater::CommandObserver,
|
|
|
| // Getter for the containing widget.
|
| GtkWidget* widget() {
|
| - return toolbar_;
|
| + return event_box_;
|
| }
|
|
|
| virtual LocationBar* GetLocationBar() const;
|
| @@ -152,6 +152,12 @@ class BrowserToolbarGtk : public CommandUpdater::CommandObserver,
|
| // Ninebox for the toolbar background
|
| scoped_ptr<NineBox> background_ninebox_;
|
|
|
| + // An event box that holds |toolbar_|. We need the toolbar to have its own
|
| + // GdkWindow when we use the GTK drawing because otherwise the color from our
|
| + // parent GdkWindow will leak through with some theme engines (such as
|
| + // Clearlooks).
|
| + GtkWidget* event_box_;
|
| +
|
| // Gtk widgets. The toolbar is an hbox with each of the other pieces of the
|
| // toolbar placed side by side.
|
| GtkWidget* toolbar_;
|
|
|