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

Unified Diff: skia/config/SkUserConfig.h

Issue 2821883002: add flag to stop using deprecated variants of SkCanvas::readPixels (Closed)
Patch Set: Created 3 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/config/SkUserConfig.h
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index 367e0007e4c34bd29b9d23ce5f928029e4822e94..b66c4ed307eb313b9018380938a50cbfd287e8ab 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -220,6 +220,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
#define SK_DISABLE_DEFERRED_PROXIES
#endif
+#ifndef SK_SUPPORT_LEGACY_CANVAS_READPIXELS
+#define SK_SUPPORT_LEGACY_CANVAS_READPIXELS
+#endif
+
#ifndef SK_LEGACY_SWEEP_GRADIENT
#define SK_LEGACY_SWEEP_GRADIENT
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698