fix int->scalar warnings

git-svn-id: http://skia.googlecode.com/svn/trunk@14990 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2014-05-30 13:45:36 +00:00
parent a3264e53ee
commit 687a26defa

View File

@ -51,7 +51,7 @@ public:
protected:
SkBitmap fBM;
SkString fFilename;
int fSize;
SkScalar fSize;
float fHorizontalVelocity, fVerticalVelocity;
SkPoint fCurPos;
@ -122,5 +122,5 @@ private:
//////////////////////////////////////////////////////////////////////////////
static SkView* MyFactory() { return new SubpixelTranslateView("mandrill_256.png", .05, .05); }
static SkView* MyFactory() { return new SubpixelTranslateView("mandrill_256.png", .05f, .05f); }
static SkViewRegister reg(MyFactory);