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

Unified Diff: bench/MorphologyBench.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/MatrixConvolutionBench.cpp ('k') | bench/RectBench.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 c670eb2d9f6af4d37d6d4ba22cf616a6cf6a7a31..956cbbee3092e89ab09281496c90d21481ec2755 100644
--- a/bench/MorphologyBench.cpp
+++ b/bench/MorphologyBench.cpp
@@ -14,7 +14,7 @@
#include "SkMorphologyImageFilter.h"
#define SMALL SkIntToScalar(2)
-#define REAL SkFloatToScalar(1.5f)
+#define REAL 1.5f
#define BIG SkIntToScalar(10)
enum MorphologyType {
« no previous file with comments | « bench/MatrixConvolutionBench.cpp ('k') | bench/RectBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698