| Index: chrome/browser/ui/gtk/gtk_util.cc
|
| diff --git a/chrome/browser/ui/gtk/gtk_util.cc b/chrome/browser/ui/gtk/gtk_util.cc
|
| index 33855f9b9959cd85d4deb15f36d994b80dc712c5..43c3bac1f0189b7bba2a65b7c75412621074c023 100644
|
| --- a/chrome/browser/ui/gtk/gtk_util.cc
|
| +++ b/chrome/browser/ui/gtk/gtk_util.cc
|
| @@ -801,9 +801,10 @@ void DrawThemedToolbarBackground(GtkWidget* widget,
|
| // The toolbar is supposed to blend in with the active tab, so we have to pass
|
| // coordinates for the IDR_THEME_TOOLBAR bitmap relative to the top of the
|
| // tab strip.
|
| - gfx::CairoCachedSurface* background = theme_service->GetSurfaceNamed(
|
| - IDR_THEME_TOOLBAR, widget);
|
| - background->SetSource(cr, widget, tabstrip_origin.x(), tabstrip_origin.y());
|
| + const gfx::Image* background =
|
| + theme_service->GetImageNamed(IDR_THEME_TOOLBAR);
|
| + background->ToCairo()->SetSource(cr, widget,
|
| + tabstrip_origin.x(), tabstrip_origin.y());
|
| // We tile the toolbar background in both directions.
|
| cairo_pattern_set_extend(cairo_get_source(cr), CAIRO_EXTEND_REPEAT);
|
| cairo_rectangle(cr,
|
|
|