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

Unified Diff: bench/MorphologyBench.cpp

Issue 111353003: deprecate SkScalarRound (and its ilk), use SkScalarRound[ToInt,ToScalar]. #define SK_SUPPORT_DEPREC… (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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 | « bench/BlurBench.cpp ('k') | debugger/QT/SkGLWidget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/MorphologyBench.cpp
diff --git a/bench/MorphologyBench.cpp b/bench/MorphologyBench.cpp
index 97f3b88284461bc9482e95b8d4c2d9a978a40e70..0bf689eff63a26c8ed4d622c28884f6a31d1ef8c 100644
--- a/bench/MorphologyBench.cpp
+++ b/bench/MorphologyBench.cpp
@@ -41,7 +41,7 @@ public:
if (SkScalarFraction(rad) != 0) {
fName.printf("morph_%.2f_%s", SkScalarToFloat(rad), name);
} else {
- fName.printf("morph_%d_%s", SkScalarRound(rad), name);
+ fName.printf("morph_%d_%s", SkScalarRoundToInt(rad), name);
}
}
« no previous file with comments | « bench/BlurBench.cpp ('k') | debugger/QT/SkGLWidget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698