diff options
author | 2015-06-19 11:49:52 -0700 | |
---|---|---|
committer | 2015-06-19 11:49:52 -0700 | |
commit | fcf7829b67b798aff4c41c4688daa9c7381991e6 (patch) | |
tree | f19261a4bfcee389dec33fa28698b0737edcd5dc /src/gpu/SkGpuDevice.h | |
parent | 97c595f304567abac00dbe4fa6ea9b4d8bf5d89f (diff) |
remove SkDeviceProperties
There is a lot more clean up to do here but this is probably a big enough bite.
Review URL: https://codereview.chromium.org/1196683003
Diffstat (limited to 'src/gpu/SkGpuDevice.h')
-rw-r--r-- | src/gpu/SkGpuDevice.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h index cf85cd9673..5b54fafb26 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(); + } 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; |