aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/colormatrix.cpp
diff options
context:
space:
mode:
authorGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-14 21:54:44 +0000
committerGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-14 21:54:44 +0000
commit8844f997805ee6c554f457b2777a9af0ff2f3ed3 (patch)
treed2c769e6ca80f5bcfe174681a192cc715ed9039d /gm/colormatrix.cpp
parentb5a827ab1cda81ff05e28c4d319d91ac01a137bd (diff)
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
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);