aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/MorphologyBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/MorphologyBench.cpp')
-rw-r--r--bench/MorphologyBench.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/bench/MorphologyBench.cpp b/bench/MorphologyBench.cpp
index d042e6d3e6..c670eb2d9f 100644
--- a/bench/MorphologyBench.cpp
+++ b/bench/MorphologyBench.cpp
@@ -4,6 +4,7 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
#include "SkBenchmark.h"
#include "SkCanvas.h"
#include "SkPaint.h"
@@ -16,15 +17,11 @@
#define REAL SkFloatToScalar(1.5f)
#define BIG SkIntToScalar(10)
-namespace {
-
enum MorphologyType {
kErode_MT,
kDilate_MT
};
-}
-
static const char* gStyleName[] = {
"erode",
"dilate"