Fix SkScalar conversion warning error.
This was causing probems on the Win build. R=caryclark@google.com Review URL: https://codereview.chromium.org/26011002 git-svn-id: http://skia.googlecode.com/svn/trunk@11604 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
ef6d8da924
commit
2dcf36e251
@ -474,9 +474,9 @@ static void adjust_out_color_space_and_dither(jpeg_decompress_struct* cinfo,
|
||||
Used when decoding fails partway through reading scanlines to fill
|
||||
remaining lines. */
|
||||
static void fill_below_level(int y, SkBitmap* bitmap) {
|
||||
SkRect rect = SkRect::MakeLTRB(0, y, bitmap->width(), bitmap->height());
|
||||
SkIRect rect = SkIRect::MakeLTRB(0, y, bitmap->width(), bitmap->height());
|
||||
SkCanvas canvas(*bitmap);
|
||||
canvas.clipRect(rect);
|
||||
canvas.clipRect(SkRect::Make(rect));
|
||||
canvas.drawColor(SK_ColorWHITE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user