Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index d5fe04febf7d61b58b068bce36cd5f73f93de2e3..4de0a50f4b198c446b5af6e7c2730ce47413dcd2 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -66,16 +66,6 @@ public: |
GrDrawContext* accessDrawContext() override; |
- SkImageInfo imageInfo() const override { |
- SkColorType colorType; |
- if (!GrPixelConfigToColorType(fDrawContext->config(), &colorType)) { |
- colorType = kUnknown_SkColorType; |
- } |
- return SkImageInfo::Make(fSize.fWidth, fSize.fHeight, colorType, |
- fOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType, |
- sk_ref_sp(fDrawContext->getColorSpace())); |
- } |
- |
void drawPaint(const SkDraw&, const SkPaint& paint) override; |
virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t count, |
const SkPoint[], const SkPaint& paint) override; |