Remove uses of unnamed namespace in bench/ directory.
Skia prefers to use static over unnamed namespace.
BUG=None
TEST=None, no functional changes.
R=bsalomon@google.com, robertphillips@google.com
Author: tfarina@chromium.org
Review URL: https://chromiumcodereview.appspot.com/24660003
git-svn-id: http://skia.googlecode.com/svn/trunk@11483 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench/MorphologyBench.cpp b/bench/MorphologyBench.cpp
index d042e6d..c670eb2 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"