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

Unified Diff: src/utils/SkPathUtils.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 | « src/utils/SkCamera.cpp ('k') | src/utils/win/SkDWriteGeometrySink.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkPathUtils.cpp
diff --git a/src/utils/SkPathUtils.cpp b/src/utils/SkPathUtils.cpp
index 86b2f1043454226ac841d579aed02fc6d484042e..fdca09aa6307dab132580206fefbe64518365513 100644
--- a/src/utils/SkPathUtils.cpp
+++ b/src/utils/SkPathUtils.cpp
@@ -55,7 +55,7 @@ static void Line2path_pixelCircle(SkPath* path, const char* line,
if (GetBit(line,i)) {
path->addCircle(i + SK_ScalarHalf,
lineIdx + SK_ScalarHalf,
- SkFloatToScalar(SQRT_2 / 2.0f));
+ SQRT_2 / 2.0f);
}
}
}
« no previous file with comments | « src/utils/SkCamera.cpp ('k') | src/utils/win/SkDWriteGeometrySink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698