summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authormtklein <mtklein@chromium.org>2015-11-19 09:30:45 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-19 17:31:22 +0000
commit763056ce7cee593d4fe1e8d8f5941d3a8c2dd727 (patch)
treed12b486ae470eeff3296893cb0851deaf936f883 /skia
parenteb1d5c59b4bb9fd2d016485f8f9c16c7b66e1ab8 (diff)
downloadchromium_src-763056ce7cee593d4fe1e8d8f5941d3a8c2dd727.zip
chromium_src-763056ce7cee593d4fe1e8d8f5941d3a8c2dd727.tar.gz
chromium_src-763056ce7cee593d4fe1e8d8f5941d3a8c2dd727.tar.bz2
Keep the undefined behavior in SkDivBits until I can rebaseline layout tests.
See https://codereview.chromium.org/1455163004. BUG=skia:3562 Review URL: https://codereview.chromium.org/1461073003 Cr-Commit-Position: refs/heads/master@{#360615}
Diffstat (limited to 'skia')
-rw-r--r--skia/config/SkUserConfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index b60d29c..7228df7 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -249,6 +249,9 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
#define SK_ENABLE_INST_COUNT 0
#define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h"
+// Blink layout tests are baselined to Clang optimizing through the UB in SkDivBits.
+#define SK_SUPPORT_LEGACY_DIVBITS_UB
+
// ===== End Chrome-specific definitions =====
#endif