Index: tools/skpdiff/SkDiffContext.cpp |
diff --git a/experimental/skpdiff/SkDiffContext.cpp b/tools/skpdiff/SkDiffContext.cpp |
similarity index 99% |
rename from experimental/skpdiff/SkDiffContext.cpp |
rename to tools/skpdiff/SkDiffContext.cpp |
index b5991273b50e1749fd46d733b1abac192de3a445..d042aed6e9f420a9070189bbc3e1eb90da981d56 100644 |
--- a/experimental/skpdiff/SkDiffContext.cpp |
+++ b/tools/skpdiff/SkDiffContext.cpp |
@@ -180,7 +180,7 @@ void SkDiffContext::outputRecords(SkWStream& stream, bool useJSONP) { |
stream.writeText("\",\n"); |
stream.writeText(" \"result\": "); |
- stream.writeScalarAsText(data.fResult); |
+ stream.writeScalarAsText((SkScalar)data.fResult); |
stream.writeText(",\n"); |
stream.writeText(" \"pointsOfInterest\": [\n"); |