aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-23 14:37:38 +0000
committerGravatar sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-23 14:37:38 +0000
commitca425d9fd9a35e2edd6ebdeb97f0cb88b341ef5b (patch)
tree09eef35a221acd5ebe7d112aacba067084e31f78
parent580a17241c51712f26441c6551c773e3769738e9 (diff)
Build fix
git-svn-id: http://skia.googlecode.com/svn/trunk@8826 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--bench/DisplacementBench.cpp8
-rw-r--r--bench/MagnifierBench.cpp8
-rw-r--r--bench/MergeBench.cpp1
3 files changed, 8 insertions, 9 deletions
diff --git a/bench/DisplacementBench.cpp b/bench/DisplacementBench.cpp
index 32495cb54a..b900b58a7b 100644
--- a/bench/DisplacementBench.cpp
+++ b/bench/DisplacementBench.cpp
@@ -10,10 +10,10 @@
#include "SkDevice.h"
#include "SkDisplacementMapEffect.h"
-#define FILTER_WIDTH_SMALL SkIntToScalar(32)
-#define FILTER_HEIGHT_SMALL SkIntToScalar(32)
-#define FILTER_WIDTH_LARGE SkIntToScalar(256)
-#define FILTER_HEIGHT_LARGE SkIntToScalar(256)
+#define FILTER_WIDTH_SMALL 32
+#define FILTER_HEIGHT_SMALL 32
+#define FILTER_WIDTH_LARGE 256
+#define FILTER_HEIGHT_LARGE 256
class DisplacementBaseBench : public SkBenchmark {
public:
diff --git a/bench/MagnifierBench.cpp b/bench/MagnifierBench.cpp
index af507ac8a5..c94898d2f5 100644
--- a/bench/MagnifierBench.cpp
+++ b/bench/MagnifierBench.cpp
@@ -10,10 +10,10 @@
#include "SkMagnifierImageFilter.h"
#include "SkRandom.h"
-#define FILTER_WIDTH_SMALL SkIntToScalar(32)
-#define FILTER_HEIGHT_SMALL SkIntToScalar(32)
-#define FILTER_WIDTH_LARGE SkIntToScalar(256)
-#define FILTER_HEIGHT_LARGE SkIntToScalar(256)
+#define FILTER_WIDTH_SMALL 32
+#define FILTER_HEIGHT_SMALL 32
+#define FILTER_WIDTH_LARGE 256
+#define FILTER_HEIGHT_LARGE 256
class MagnifierBench : public SkBenchmark {
public:
diff --git a/bench/MergeBench.cpp b/bench/MergeBench.cpp
index d74c4c26a9..eff32b8141 100644
--- a/bench/MergeBench.cpp
+++ b/bench/MergeBench.cpp
@@ -6,7 +6,6 @@
*/
#include "SkBenchmark.h"
#include "SkBitmapSource.h"
-#include "SkBlurImageFilter.h"
#include "SkCanvas.h"
#include "SkDevice.h"
#include "SkMergeImageFilter.h"