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

Unified Diff: bench/GrMemoryPoolBench.cpp

Issue 24660003: Remove uses of unnamed namespace in bench/ directory. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 months 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/ChartBench.cpp ('k') | bench/MorphologyBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/GrMemoryPoolBench.cpp
diff --git a/bench/GrMemoryPoolBench.cpp b/bench/GrMemoryPoolBench.cpp
index 4fae5913c15a497d5acc66d0421e609c5b4a3501..0adf92abaa6f2f49ade2f7a6f5b056401a56c763 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
« no previous file with comments | « bench/ChartBench.cpp ('k') | bench/MorphologyBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698