diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-03 18:14:32 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-03 18:14:32 +0000 |
commit | ba48ff2fd27261a15003ddd3f45632da700141fb (patch) | |
tree | b762e903a526acd50e0ac19af4b5a50e54389d8e /webkit/config.h.in | |
parent | 903a331bf0b60554ceb8adc1a69b4302710f5b55 (diff) | |
download | chromium_src-ba48ff2fd27261a15003ddd3f45632da700141fb.zip chromium_src-ba48ff2fd27261a15003ddd3f45632da700141fb.tar.gz chromium_src-ba48ff2fd27261a15003ddd3f45632da700141fb.tar.bz2 |
Redefine PLATFORM(CG) and PLATFORM(CF) on Mac build of Chrome.
Review URL: http://codereview.chromium.org/6244
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2837 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/config.h.in')
-rw-r--r-- | webkit/config.h.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/webkit/config.h.in b/webkit/config.h.in index e11f6ad..933381e 100644 --- a/webkit/config.h.in +++ b/webkit/config.h.in @@ -124,14 +124,18 @@ #if PLATFORM(CHROMIUM) #define WTF_USE_V8 1 #define WTF_PLATFORM_SKIA 1 + +#if !PLATFORM(MAC) #undef WTF_PLATFORM_CG #undef WTF_PLATFORM_CF +#endif + #undef WTF_USE_CFNETWORK // Upstream Platform.h's #ifdef check for other graphics libraries doesn't // check SKIA, so it falls back on defining CAIRO. Undo that here. // TODO(evanm): clean this up. #undef WTF_PLATFORM_CAIRO -#endif +#endif /* PLATFORM(CHROMIUM) */ #if !defined(WTF_USE_V8) #define WTF_USE_V8 0 |