Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: gm/discard.cpp

Issue 257693002: Fix int->scalar warning on windows (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/discard.cpp
diff --git a/gm/discard.cpp b/gm/discard.cpp
index ae3947dfe414b0ffc5ab547bad8e033d36ea8ddf..ce89e985076e8f9680166495fca1ed86959b22c8 100644
--- a/gm/discard.cpp
+++ b/gm/discard.cpp
@@ -74,7 +74,7 @@ protected:
surface->getCanvas()->drawPaint(paint);
break;
}
- surface->draw(canvas, 10*x, 10*y, NULL);
+ surface->draw(canvas, 10.f*x, 10.f*y, NULL);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698