From 165817dacd9f6e76747a7e990d3c966cfb94b2c4 Mon Sep 17 00:00:00 2001 From: caryclark Date: Fri, 18 Dec 2015 07:00:45 -0800 Subject: 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} --- skia/config/SkUserConfig.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'skia') 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, -- cgit v1.1