summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorcaryclark <caryclark@google.com>2015-12-18 07:00:45 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-18 15:01:24 +0000
commit165817dacd9f6e76747a7e990d3c966cfb94b2c4 (patch)
tree23389204140d53adab67a23a3b524f3a091d25de /skia
parent3fb2d66619b2e7328818ed359d90b48fc0966ea8 (diff)
downloadchromium_src-165817dacd9f6e76747a7e990d3c966cfb94b2c4.zip
chromium_src-165817dacd9f6e76747a7e990d3c966cfb94b2c4.tar.gz
chromium_src-165817dacd9f6e76747a7e990d3c966cfb94b2c4.tar.bz2
add legacy skia path measure support
Removing a space limitation in path measure will fix the bug, but may change some layout test results. Guard against this until the tests can be rebaselined. R=fmalita@chromium.org BUG=438390 Review URL: https://codereview.chromium.org/1535123002 Cr-Commit-Position: refs/heads/master@{#366090}
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 62a250b..fd5e425 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -242,6 +242,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
# define SK_SUPPORT_LEGACY_SAVELAYERPARAMS
#endif
+#ifndef SK_SUPPORT_LEGACY_PATH_MEASURE_TVALUE
+# define SK_SUPPORT_LEGACY_PATH_MEASURE_TVALUE
+#endif
+
///////////////////////// Imported from BUILD.gn and skia_common.gypi
/* In some places Skia can use static initializers for global initialization,