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

Unified Diff: include/effects/SkPorterDuff.h

Issue 51033004: add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 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 | « include/effects/SkEmbossMaskFilter.h ('k') | include/effects/SkRectShaderImageFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkPorterDuff.h
diff --git a/include/effects/SkPorterDuff.h b/include/effects/SkPorterDuff.h
index c5f549211d4c2e5679f798b374b9a0e6482c8878..e984e8e9b427d1162ff6e004f3c1807a8f3ca0d0 100644
--- a/include/effects/SkPorterDuff.h
+++ b/include/effects/SkPorterDuff.h
@@ -13,8 +13,6 @@
class SkXfermode;
-/** DEPRECATED - use SkXfermode::Mode instead
- */
class SK_API SkPorterDuff {
public:
/** List of predefined xfermodes. In general, the algebra for the modes
@@ -76,6 +74,6 @@ public:
/** Return the corersponding SkXfermode::Mode
*/
static SkXfermode::Mode ToXfermodeMode(Mode);
-};
+} SK_ATTR_DEPRECATED("use SkXfermode::Mode");
#endif
« no previous file with comments | « include/effects/SkEmbossMaskFilter.h ('k') | include/effects/SkRectShaderImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698