aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGpuDevice.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-06-19 14:14:54 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-19 14:14:55 -0700
commit7b05ff11ebc51f3f3abd1c1756337a04f563537e (patch)
tree81eb9b7e9ee2c28bf474d4540561929b1a435158 /src/gpu/SkGpuDevice.h
parentb7134b64c689f6cafcad9cb27ff2adb0706ab37c (diff)
Rename all things "leaky" in SkDevice
Diffstat (limited to 'src/gpu/SkGpuDevice.h')
-rw-r--r--src/gpu/SkGpuDevice.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index 5b54fafb26..f71450d7c9 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;
};