aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/colormatrix.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-12 14:24:20 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-12 14:24:20 +0000
commit388695146469f09942e21a2d03d8ca0428f9489c (patch)
tree12adbc546736c683e5d4fe009128df0a77f6a384 /gm/colormatrix.cpp
parent469a9732c5e75c70e73f51a5e4e0657b0129fdc7 (diff)
Reverting r12635 (Make leak counters thread-safe - https://codereview.chromium.org/99483003) due to compile errors on Mac 10.6 & in Chrome
git-svn-id: http://skia.googlecode.com/svn/trunk@12637 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/colormatrix.cpp')
-rw-r--r--gm/colormatrix.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/colormatrix.cpp b/gm/colormatrix.cpp
index 2f98693da2..9ab6563040 100644
--- a/gm/colormatrix.cpp
+++ b/gm/colormatrix.cpp
@@ -12,9 +12,9 @@
#define WIDTH 500
#define HEIGHT 500
-class SkDoOnce {
+class SkOnce {
public:
- SkDoOnce() : fOnce(false) {};
+ SkOnce() : fOnce(false) {};
bool once() const {
if (fOnce) {
@@ -39,7 +39,7 @@ static void setArray(SkPaint* paint, const SkScalar array[]) {
namespace skiagm {
class ColorMatrixGM : public GM {
- SkDoOnce fOnce;
+ SkOnce fOnce;
void init() {
if (fOnce.once()) {
fSolidBitmap = this->createSolidBitmap(64, 64);