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

Unified Diff: src/pdf/SkPDFDeviceFlattener.cpp

Issue 47513017: More Windows 64b compilation warning fixes (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Remove common_variables.gypi from CL (ooops) Created 7 years, 2 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
Index: src/pdf/SkPDFDeviceFlattener.cpp
===================================================================
--- src/pdf/SkPDFDeviceFlattener.cpp (revision 11997)
+++ src/pdf/SkPDFDeviceFlattener.cpp (working copy)
@@ -43,7 +43,7 @@
flattenPaint(d, &paintFlatten);
SkPoint* flattenedPoints = SkNEW_ARRAY(SkPoint, count);
- d.fMatrix->mapPoints(flattenedPoints, points, count);
+ d.fMatrix->mapPoints(flattenedPoints, points, static_cast<int>(count));
bsalomon 2013/10/29 14:40:36 SkToS32
robertphillips 2013/11/18 20:22:41 Done.
SkDraw draw(d);
SkMatrix identity = SkMatrix::I();
draw.fMatrix = &identity;

Powered by Google App Engine
This is Rietveld 408576698