Index: src/gpu/GrPictureUtils.cpp |
diff --git a/src/gpu/GrPictureUtils.cpp b/src/gpu/GrPictureUtils.cpp |
index 30a1d39a3c7b59ed4cc37d31d1180b13343b56aa..f8c2d31843145fa8159142e0886cbdf2114f155a 100644 |
--- a/src/gpu/GrPictureUtils.cpp |
+++ b/src/gpu/GrPictureUtils.cpp |
@@ -51,9 +51,11 @@ public: |
virtual int width() const SK_OVERRIDE { return fInfo.fSize.width(); } |
virtual int height() const SK_OVERRIDE { return fInfo.fSize.height(); } |
virtual bool isOpaque() const SK_OVERRIDE { return false; } |
+#ifdef SK_SUPPORT_LEGACY_DEVICE_CONFIG |
virtual SkBitmap::Config config() const SK_OVERRIDE { |
return SkBitmap::kNo_Config; |
} |
+#endif |
virtual SkImageInfo imageInfo() const SK_OVERRIDE { |
return fEmptyBitmap.info(); |
} |