From 38d08bb85bf2c876a1a3f06392c547809f5c2e6f Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Tue, 12 Jan 2016 13:05:09 -0500 Subject: [PATCH] Bug 1239040 - Allow usage of SkCanvas::getTopDevice in Skia. r=jrmuizel --- gfx/skia/skia/include/config/SkUserConfig.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/skia/skia/include/config/SkUserConfig.h b/gfx/skia/skia/include/config/SkUserConfig.h index f1a4959cadbc..c0186122e2b6 100644 --- a/gfx/skia/skia/include/config/SkUserConfig.h +++ b/gfx/skia/skia/include/config/SkUserConfig.h @@ -162,6 +162,7 @@ #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 #define SK_SUPPORT_LEGACY_GETDEVICE +#define SK_SUPPORT_LEGACY_GETTOPDEVICE #define SK_IGNORE_ETC1_SUPPORT