Index: include/gpu/SkGpuDevice.h |
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h |
index d2df32c85bce2c274ad8e44f7a7c81179bd741d0..f2a27d7bf50c2e73546b5f2fba5ee6a14f24e4c6 100644 |
--- a/include/gpu/SkGpuDevice.h |
+++ b/include/gpu/SkGpuDevice.h |
@@ -82,7 +82,9 @@ public: |
return NULL == fRenderTarget ? false |
: kRGB_565_GrPixelConfig == fRenderTarget->config(); |
} |
+#ifdef SK_SUPPORT_LEGACY_DEVICE_CONFIG |
virtual SkBitmap::Config config() const SK_OVERRIDE; |
+#endif |
virtual void clear(SkColor color) SK_OVERRIDE; |
virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE; |