Shut up windows build errors on new GM
BUG=skia: R=mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/300973005 git-svn-id: http://skia.googlecode.com/svn/trunk@14941 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
3c1594aacb
commit
793ddd994a
@ -203,7 +203,7 @@ protected:
|
||||
}
|
||||
|
||||
canvas->save();
|
||||
canvas->translate(cur_x, cur_y);
|
||||
canvas->translate((SkScalar)cur_x, (SkScalar)cur_y);
|
||||
canvas->translate(-(bm.width() - r.width())/2, -(bm.height()-r.height())/2);
|
||||
canvas->drawBitmap(bm, 0.f, 0.f, NULL);
|
||||
canvas->restore();
|
||||
|
Loading…
Reference in New Issue
Block a user