Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index 5b54fafb26eaddf0dadccc6e0e6b0803d08a951c..f71450d7c99faa82db85e1fb88037da63778b1b2 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -76,10 +76,6 @@ public: |
return fLegacyBitmap.info(); |
} |
- const SkSurfaceProps& surfaceProps() const { |
- return this->getLeakyProperties(); |
- } |
- |
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; |
@@ -218,6 +214,7 @@ private: |
int sampleCount); |
friend class GrAtlasTextContext; |
+ friend class SkSurface_Gpu; // for access to surfaceProps |
typedef SkBaseDevice INHERITED; |
}; |