aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/GrMemoryPoolBench.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-26 19:23:03 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-26 19:23:03 +0000
commit97b4b67ee79b094ea6ec84071d4a233177f9c7bc (patch)
treec615ac86c461940138f79778fbe01d0fdbe7a37c /bench/GrMemoryPoolBench.cpp
parent2c86fbb0b14a1f674bf56ea5ad6a086cc004a76e (diff)
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
Diffstat (limited to 'bench/GrMemoryPoolBench.cpp')
-rw-r--r--bench/GrMemoryPoolBench.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/bench/GrMemoryPoolBench.cpp b/bench/GrMemoryPoolBench.cpp
index 4fae5913c1..0adf92abaa 100644
--- a/bench/GrMemoryPoolBench.cpp
+++ b/bench/GrMemoryPoolBench.cpp
@@ -17,7 +17,6 @@
// change this to 0 to compare GrMemoryPool to default new / delete
#define OVERRIDE_NEW 1
-namespace {
struct A {
int gStuff[10];
#if OVERRIDE_NEW
@@ -27,8 +26,6 @@ struct A {
static GrMemoryPool gPool;
};
GrMemoryPool A::gPool(10 * (1 << 10), 10 * (1 << 10));
-}
-
/**
* This benchmark creates and deletes objects in stack order
@@ -154,4 +151,5 @@ private:
DEF_BENCH( return new GrMemoryPoolBenchStack(); )
DEF_BENCH( return new GrMemoryPoolBenchRandom(); )
DEF_BENCH( return new GrMemoryPoolBenchQueue(); )
+
#endif