summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreed <reed@google.com>2016-03-25 21:52:17 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-26 04:53:48 +0000
commitfe20a6e5e74173375de6debe1c86ac794debcccc (patch)
treee87df44e61e696d1ec05a1191d2bd15c16aef356
parent053ef0ef0cb9765594615de430fad25b24d100c6 (diff)
downloadchromium_src-fe20a6e5e74173375de6debe1c86ac794debcccc.zip
chromium_src-fe20a6e5e74173375de6debe1c86ac794debcccc.tar.gz
chromium_src-fe20a6e5e74173375de6debe1c86ac794debcccc.tar.bz2
add SK_SUPPORT_LEGACY_XFERMODE_PTR for future skia CL
see skia CL https://codereview.chromium.org/1832223002/ BUG= TBR= Review URL: https://codereview.chromium.org/1835163002 Cr-Commit-Position: refs/heads/master@{#383445}
-rw-r--r--skia/config/SkUserConfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index 967d49b..b2b60f8 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -275,6 +275,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
# define SK_SUPPORT_LEGACY_SETSHADER_PTR
#endif
+#ifndef SK_SUPPORT_LEGACY_XFERMODE_PTR
+# define SK_SUPPORT_LEGACY_XFERMODE_PTR
+#endif
+
///////////////////////// Imported from BUILD.gn and skia_common.gypi
/* In some places Skia can use static initializers for global initialization,