Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1648)

Unified Diff: include/core/SkDevice.h

Issue 1198603002: Rename all things "leaky" in SkDevice (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkBitmapDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDevice.h
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index d9468daa563e1ffc99c8a3a3c79458f4559c6e38..bcbf47a810b5e6e658a6c1a4012ac073027ce483 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -309,14 +309,8 @@ protected:
virtual bool onAccessPixels(SkPixmap*) { return false; }
- /**
- * Leaky properties are those which the device should be applying but it isn't.
- * These properties will be applied by the draw, when and as it can.
- * If the device does handle a property, that property should be set to the identity value
- * for that property, effectively making it non-leaky.
- */
- const SkSurfaceProps& getLeakyProperties() const {
- return fLeakyProperties;
+ const SkSurfaceProps& surfaceProps() const {
+ return fSurfaceProps;
}
/**
@@ -399,7 +393,7 @@ private:
SkIPoint fOrigin;
SkMetaData* fMetaData;
- SkSurfaceProps fLeakyProperties;
+ SkSurfaceProps fSurfaceProps;
#ifdef SK_DEBUG
bool fAttachedToCanvas;
« no previous file with comments | « no previous file | src/core/SkBitmapDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698