aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-02-11 11:38:44 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-11 11:38:44 -0800
commitf5e89c8f685ac8a5c4d117e087b4111d613106db (patch)
tree73da0de582b0600a69749fd68655293bbd0ab4c0 /tests
parent3f284d7758d7f35b59d93a22d126f7cd8423be44 (diff)
Fix Chromium build
TBR=jvanverth@google.com Review URL: https://codereview.chromium.org/916763003
Diffstat (limited to 'tests')
-rw-r--r--tests/MatrixClipCollapseTest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/MatrixClipCollapseTest.cpp b/tests/MatrixClipCollapseTest.cpp
index c9940272c0..36a3ea4c98 100644
--- a/tests/MatrixClipCollapseTest.cpp
+++ b/tests/MatrixClipCollapseTest.cpp
@@ -6,6 +6,9 @@
*/
#include "Test.h"
+
+#ifdef SK_COLLAPSE_MATRIX_CLIP_STATE
+
#include "SkCanvas.h"
#include "SkDebugCanvas.h"
#include "SkPicture.h"
@@ -52,7 +55,6 @@
// system is ready for prime time
// bench the recording times with/without matrix/clip collapsing
-#ifdef SK_COLLAPSE_MATRIX_CLIP_STATE
// Enable/disable debugging helper code
//#define TEST_COLLAPSE_MATRIX_CLIP_STATE 1