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

Unified Diff: include/core/SkImageFilter.h

Issue 1234873005: Rename right & bottom crop edges to width & height. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Update to ToT; fix tests Created 5 years, 5 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/SkImageFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImageFilter.h
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index 896636bb75e0bff8024d84940d85e2b35fa5b300..16a038285c16d301abb166a45c80ac38705484ef 100644
--- a/include/core/SkImageFilter.h
+++ b/include/core/SkImageFilter.h
@@ -64,8 +64,12 @@ public:
enum CropEdge {
kHasLeft_CropEdge = 0x01,
kHasTop_CropEdge = 0x02,
- kHasRight_CropEdge = 0x04,
- kHasBottom_CropEdge = 0x08,
+ kHasWidth_CropEdge = 0x04,
+ kHasHeight_CropEdge = 0x08,
+#ifdef SK_LEGACY_IMAGE_FILTER_CROP_RECT_EDGES
+ kHasRight_CropEdge = kHasWidth_CropEdge,
+ kHasBottom_CropEdge = kHasHeight_CropEdge,
+#endif
kHasAll_CropEdge = 0x0F,
};
CropRect() {}
« no previous file with comments | « no previous file | src/core/SkImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698