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

Unified Diff: bench/BlurBench.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 | « no previous file | bench/MorphologyBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/BlurBench.cpp
diff --git a/bench/BlurBench.cpp b/bench/BlurBench.cpp
index 5f735dd8cfe820385d90668c51c5ac0165348dca..e7811d643d0ecde4b8d016566de6488f64a541f4 100644
--- a/bench/BlurBench.cpp
+++ b/bench/BlurBench.cpp
@@ -43,7 +43,7 @@ public:
if (SkScalarFraction(rad) != 0) {
fName.printf("blur_%.2f_%s_%s", SkScalarToFloat(rad), name, quality);
} else {
- fName.printf("blur_%d_%s_%s", SkScalarRound(rad), name, quality);
+ fName.printf("blur_%d_%s_%s", SkScalarRoundToInt(rad), name, quality);
}
}
« no previous file with comments | « no previous file | bench/MorphologyBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698