Index: src/core/SkPicture.cpp |
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp |
index de04c2a28f153f94aef757665228835065cc51e6..41fc374aae3cdca1f552a92c23c4222aece9db32 100644 |
--- a/src/core/SkPicture.cpp |
+++ b/src/core/SkPicture.cpp |
@@ -451,10 +451,12 @@ void SkPicture::flatten(SkWriteBuffer& buffer) const { |
} |
} |
+#if SK_SUPPORT_GPU |
bool SkPicture::suitableForGpuRasterization(GrContext* context) const { |
// Stub for now; never veto GPu rasterization. |
return true; |
} |
+#endif |
bool SkPicture::willPlayBackBitmaps() const { |
if (!fPlayback) { |