Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index cf85cd967398d2cb7fa25ef15944a9da1daf89c9..5b54fafb26eaddf0dadccc6e0e6b0803d08a951c 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -76,7 +76,9 @@ public: |
return fLegacyBitmap.info(); |
} |
- const SkSurfaceProps& surfaceProps() const { return fSurfaceProps; } |
+ const SkSurfaceProps& surfaceProps() const { |
+ return this->getLeakyProperties(); |
bungeman-skia
2015/06/19 17:35:34
Does this make sense? The leaky properties are tho
bungeman-skia
2015/06/19 18:27:30
Ah, so no one is using the leaky properties.
robertphillips
2015/06/19 18:27:47
As discussed in person I will follow up this CL wi
|
+ } |
void drawPaint(const SkDraw&, const SkPaint& paint) override; |
virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t count, |
@@ -151,7 +153,6 @@ private: |
SkIPoint fClipOrigin; |
GrClip fClip; |
SkAutoTUnref<GrDrawContext> fDrawContext; |
- SkSurfaceProps fSurfaceProps; |
GrRenderTarget* fRenderTarget; |
// remove when our clients don't rely on accessBitmap() |
SkBitmap fLegacyBitmap; |