summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authormtklein <mtklein@chromium.org>2015-04-17 10:53:10 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-17 17:54:06 +0000
commit32d3150b1ee420464ffa14b295672216e546a640 (patch)
treed344271a0eaf27681ab7edae1b08666a0c907353 /skia
parentf44f2c372bd4a040e742226fae58600d62d7b66e (diff)
downloadchromium_src-32d3150b1ee420464ffa14b295672216e546a640.zip
chromium_src-32d3150b1ee420464ffa14b295672216e546a640.tar.gz
chromium_src-32d3150b1ee420464ffa14b295672216e546a640.tar.bz2
peg Chromium to legacy Color32 math for now
BUG= Review URL: https://codereview.chromium.org/1053613003 Cr-Commit-Position: refs/heads/master@{#325671}
Diffstat (limited to 'skia')
-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 a5e2cb6..94a3a4d 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -281,6 +281,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
# define SK_LEGACY_STROKE_CURVES
#endif
+#ifndef SK_SUPPORT_LEGACY_COLOR32_MATH
+# define SK_SUPPORT_LEGACY_COLOR32_MATH
+#endif
+
///////////////////////// Imported from BUILD.gn and skia_common.gypi
/* In some places Skia can use static initializers for global initialization,