diff options
author | 2011-05-17 17:36:59 +0000 | |
---|---|---|
committer | 2011-05-17 17:36:59 +0000 | |
commit | 2047f00e4698f83499ab91911999a65c21a951c9 (patch) | |
tree | 404b1c30d3f764fa05e3770c09fc1e43449a4d65 /src | |
parent | d31cbc465088a253b5574b0305e09f9301b2bf81 (diff) |
get tests closer to passing for SKIA_SCALAR=fixed
http://codereview.appspot.com/4532064/
git-svn-id: http://skia.googlecode.com/svn/trunk@1351 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkScan_Antihair.cpp | 6 | ||||
-rw-r--r-- | src/pdf/SkPDFTypes.cpp | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/core/SkScan_Antihair.cpp b/src/core/SkScan_Antihair.cpp index b84c576c15..52f2a321aa 100644 --- a/src/core/SkScan_Antihair.cpp +++ b/src/core/SkScan_Antihair.cpp @@ -653,6 +653,8 @@ void SkScan::AntiFillRect(const SkRect& origR, const SkRegion* clip, } } +#endif // SK_SCALAR_IS_FLOAT + /////////////////////////////////////////////////////////////////////////////// #define SkAlphaMulRound(a, b) SkMulDiv255Round(a, b) @@ -811,7 +813,3 @@ void SkScan::AntiFrameRect(const SkRect& r, const SkPoint& strokeSize, innerstrokedot8(L, T, R, B, blitter); } } - -#endif - - diff --git a/src/pdf/SkPDFTypes.cpp b/src/pdf/SkPDFTypes.cpp index cb1c178e22..b9420eba83 100644 --- a/src/pdf/SkPDFTypes.cpp +++ b/src/pdf/SkPDFTypes.cpp @@ -112,7 +112,7 @@ void SkPDFScalar::Append(SkScalar value, SkWStream* stream) { #if defined(SK_SCALAR_IS_FIXED) - stream->wrieScalarAsText(value); + stream->writeScalarAsText(value); return; #endif // SK_SCALAR_IS_FIXED |