diff options
author | reed <reed@google.com> | 2015-03-16 17:29:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-17 00:30:16 +0000 |
commit | c97047888c9e13602ee390c99fd78b05efe7bc26 (patch) | |
tree | 25a7033ee960eebbbed65deeaefcaf7b15b98db2 /skia/config | |
parent | 1f11e922c34e28786c16436839ca9146df10fd74 (diff) | |
download | chromium_src-c97047888c9e13602ee390c99fd78b05efe7bc26.zip chromium_src-c97047888c9e13602ee390c99fd78b05efe7bc26.tar.gz chromium_src-c97047888c9e13602ee390c99fd78b05efe7bc26.tar.bz2 |
add SK_LEGACY_DRAWPICTURECALLBACK guard flag
Used until chrome switches to the new skia api
BUG=
TBR=robertphilips@chromium.org
Review URL: https://codereview.chromium.org/1014473005
Cr-Commit-Position: refs/heads/master@{#320830}
Diffstat (limited to 'skia/config')
-rw-r--r-- | skia/config/SkUserConfig.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h index 914693d..f9ab633 100644 --- a/skia/config/SkUserConfig.h +++ b/skia/config/SkUserConfig.h @@ -245,6 +245,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal, # define SK_SUPPORT_LEGACY_GETTOPDEVICE #endif +#ifndef SK_LEGACY_DRAWPICTURECALLBACK +# define SK_LEGACY_DRAWPICTURECALLBACK +#endif + #ifndef SK_SUPPORT_LEGACY_GETDEVICE # define SK_SUPPORT_LEGACY_GETDEVICE #endif |