aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/arithmode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/arithmode.cpp')
-rw-r--r--gm/arithmode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gm/arithmode.cpp b/gm/arithmode.cpp
index 70661a0fba..f98fbf7057 100644
--- a/gm/arithmode.cpp
+++ b/gm/arithmode.cpp
@@ -15,6 +15,7 @@
#define WW 100
#define HH 32
+#ifdef SK_SUPPORT_LEGACY_ARITHMETICMODE
static SkBitmap make_bm() {
SkBitmap bm;
bm.allocN32Pixels(WW, HH);
@@ -160,3 +161,4 @@ private:
///////////////////////////////////////////////////////////////////////////////
DEF_GM( return new ArithmodeGM; )
+#endif