summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorreed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 05:09:01 +0000
committerreed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 05:09:01 +0000
commit6249d66e6c4699f0f78475310da03473918aa2e2 (patch)
tree017899be8021fedf84039f95a2270f2569d6c9da /skia
parente68986669f5e8908bc94b7938ebdd572bf9094a7 (diff)
downloadchromium_src-6249d66e6c4699f0f78475310da03473918aa2e2.zip
chromium_src-6249d66e6c4699f0f78475310da03473918aa2e2.tar.gz
chromium_src-6249d66e6c4699f0f78475310da03473918aa2e2.tar.bz2
move compile guard into chrome
will remove the flag from the skia side after this lands BUG= Review URL: https://codereview.chromium.org/396733009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283649 0039d316-1c4b-4281-b951-d872f2087c98
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 59ac567..a2b86a9 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -253,6 +253,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
#define SK_SUPPORT_LEGACY_GETTOPDEVICE
#endif
+#ifndef SK_SUPPORT_LEGACY_GETDEVICE
+ #define SK_SUPPORT_LEGACY_GETDEVICE
+#endif
+
// ===== End Chrome-specific definitions =====
#endif