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

Unified Diff: bench/BicubicBench.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 | « bench/AAClipBench.cpp ('k') | bench/BlurBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/BicubicBench.cpp
diff --git a/bench/BicubicBench.cpp b/bench/BicubicBench.cpp
index d0e48f653a00063a088ec86f1760d11ef0c0c523..d1f4a4de7217c9166af0ebc25468b8fa9c989ec2 100644
--- a/bench/BicubicBench.cpp
+++ b/bench/BicubicBench.cpp
@@ -20,7 +20,7 @@ class BicubicBench : public SkBenchmark {
public:
BicubicBench(float x, float y)
- : fScale(SkSize::Make(SkFloatToScalar(x), SkFloatToScalar(y))) {
+ : fScale(SkSize::Make(x, y)) {
fName.printf("bicubic_%gx%g",
SkScalarToFloat(fScale.fWidth), SkScalarToFloat(fScale.fHeight));
}
« no previous file with comments | « bench/AAClipBench.cpp ('k') | bench/BlurBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698