aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGpuDevice.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-06-19 11:49:52 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-19 11:49:52 -0700
commitfcf7829b67b798aff4c41c4688daa9c7381991e6 (patch)
treef19261a4bfcee389dec33fa28698b0737edcd5dc /src/gpu/SkGpuDevice.h
parent97c595f304567abac00dbe4fa6ea9b4d8bf5d89f (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.h5
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;