From c97047888c9e13602ee390c99fd78b05efe7bc26 Mon Sep 17 00:00:00 2001 From: reed Date: Mon, 16 Mar 2015 17:29:39 -0700 Subject: [PATCH] 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} --- skia/config/SkUserConfig.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h index 914693d85efe3d..f9ab633c190de8 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