| Index: chrome/browser/gtk/nine_box.cc
|
| diff --git a/chrome/browser/gtk/nine_box.cc b/chrome/browser/gtk/nine_box.cc
|
| index 5b8e45f0f79fab3987d9a4f429cb022aa31a9571..e2c42f6598ea1daee669b72c40a77fec2f5f0369 100644
|
| --- a/chrome/browser/gtk/nine_box.cc
|
| +++ b/chrome/browser/gtk/nine_box.cc
|
| @@ -68,7 +68,7 @@ void NineBox::RenderToWidget(GtkWidget* dst) {
|
| if (images[0])
|
| DrawPixbuf(dst, images[0], 0, 0);
|
| if (images[1])
|
| - RenderTopCenterStrip(dst, x1, x2);
|
| + RenderTopCenterStrip(dst, x1, x2, 0);
|
| if (images[2])
|
| DrawPixbuf(dst, images[2], x2, 0);
|
|
|
| @@ -106,10 +106,10 @@ void NineBox::RenderToWidget(GtkWidget* dst) {
|
| DrawPixbuf(dst, images[2], x2, y2);
|
| }
|
|
|
| -void NineBox::RenderTopCenterStrip(GtkWidget* dst, int x1, int x2) {
|
| +void NineBox::RenderTopCenterStrip(GtkWidget* dst, int x1, int x2, int y1) {
|
| TileImage(dst, images_[1],
|
| - x1, 0,
|
| - x2, 0);
|
| + x1, y1,
|
| + x2, y1);
|
| }
|
|
|
| void NineBox::TileImage(GtkWidget* dst, GdkPixbuf* src,
|
|
|