Rename all things "leaky" in SkDevice
Review URL: https://codereview.chromium.org/1198603002
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index 5b54faf..f71450d 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -76,10 +76,6 @@
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 @@
int sampleCount);
friend class GrAtlasTextContext;
+ friend class SkSurface_Gpu; // for access to surfaceProps
typedef SkBaseDevice INHERITED;
};