Revert "Make leak counters thread-safe and turn them on by default for Debug"
iThis CL is breaking the Android debug test bots by firing an assert.
BUG=skia:1219
Review URL: https://codereview.chromium.org/138683006
git-svn-id: http://skia.googlecode.com/svn/trunk@13076 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/convexpaths.cpp b/gm/convexpaths.cpp
index 91afbfe..8eb4cba 100644
--- a/gm/convexpaths.cpp
+++ b/gm/convexpaths.cpp
@@ -9,9 +9,9 @@
#include "SkRandom.h"
#include "SkTArray.h"
-class SkDoOnce : SkNoncopyable {
+class SkOnce : SkNoncopyable {
public:
- SkDoOnce() { fDidOnce = false; }
+ SkOnce() { fDidOnce = false; }
bool needToDo() const { return !fDidOnce; }
bool alreadyDone() const { return fDidOnce; }
@@ -27,7 +27,7 @@
namespace skiagm {
class ConvexPathsGM : public GM {
- SkDoOnce fOnce;
+ SkOnce fOnce;
public:
ConvexPathsGM() {
this->setBGColor(0xFF000000);