diff options
Diffstat (limited to 'ui/gfx')
-rw-r--r-- | ui/gfx/nine_image_painter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gfx/nine_image_painter.cc b/ui/gfx/nine_image_painter.cc index 428b5f9..fe86c2d 100644 --- a/ui/gfx/nine_image_painter.cc +++ b/ui/gfx/nine_image_painter.cc @@ -152,6 +152,8 @@ void NineImagePainter::Paint(Canvas* canvas, SkPaint paint; paint.setAlpha(alpha); + Fill(canvas, images_[4], i4x, i4y, i4w, i4h, paint); + canvas->DrawImageIntInPixel(images_[0], 0, 0, i0w, i0h, 0, 0, i0w, i0h, false, paint); @@ -161,8 +163,6 @@ void NineImagePainter::Paint(Canvas* canvas, Fill(canvas, images_[3], 0, i0h, i3w, height_in_pixels - i0h - i6h, paint); - Fill(canvas, images_[4], i4x, i4y, i4w, i4h, paint); - Fill(canvas, images_[5], width_in_pixels - i5w, i2h, i5w, height_in_pixels - i2h - i8h, paint); |