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

Unified Diff: samplecode/SampleFontScalerTest.cpp

Issue 85463005: remove SkFloatToScalar macro (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: add flag to expose SkFloatToScalar to chromium Created 7 years, 1 month 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 | « samplecode/SampleFilterFuzz.cpp ('k') | samplecode/SampleHairline.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleFontScalerTest.cpp
diff --git a/samplecode/SampleFontScalerTest.cpp b/samplecode/SampleFontScalerTest.cpp
index a01de035563c005af19ff73bda87737b0cc00771..bbfd5a5e147da10b5fba438e9ed35ccefa108f5c 100644
--- a/samplecode/SampleFontScalerTest.cpp
+++ b/samplecode/SampleFontScalerTest.cpp
@@ -77,12 +77,12 @@ protected:
if (false) {
SkPoint pts[4];
pts[0].set(1.61061274e+09f, 6291456);
- pts[1].set(SkFloatToScalar(-7.18397061e+15f),
- SkFloatToScalar(-1.53091184e+13f));
- pts[2].set(SkFloatToScalar(-1.30077315e+16f),
- SkFloatToScalar(-2.77196141e+13f));
- pts[3].set(SkFloatToScalar(-1.30077315e+16f),
- SkFloatToScalar(-2.77196162e+13f));
+ pts[1].set(-7.18397061e+15f,
+ -1.53091184e+13f);
+ pts[2].set(-1.30077315e+16f,
+ -2.77196141e+13f);
+ pts[3].set(-1.30077315e+16f,
+ -2.77196162e+13f);
SkPath path;
path.moveTo(pts[0]);
« no previous file with comments | « samplecode/SampleFilterFuzz.cpp ('k') | samplecode/SampleHairline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698