diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-24 17:44:42 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-24 17:44:42 +0000 |
commit | e47eb24093de8ba921bd0f3b082cf4ef6e46be18 (patch) | |
tree | 892d4227da35e860cbd422ddd80ad248e6d2ae88 /webkit | |
parent | 044dc48ab959e37a5f9960a46e7ffeeaf201fb54 (diff) | |
download | chromium_src-e47eb24093de8ba921bd0f3b082cf4ef6e46be18.zip chromium_src-e47eb24093de8ba921bd0f3b082cf4ef6e46be18.tar.gz chromium_src-e47eb24093de8ba921bd0f3b082cf4ef6e46be18.tar.bz2 |
In the upstream bug, we realized that the only caller of this function has a CG
call too, which explains why this is PLATFORM(CG). I've added PLATFORM(DARWIN)
just to clarify that the implementation is Mac-only.
Review URL: http://codereview.chromium.org/7975
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3925 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/port/platform/chromium/MimeTypeRegistryChromium.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/webkit/port/platform/chromium/MimeTypeRegistryChromium.cpp b/webkit/port/platform/chromium/MimeTypeRegistryChromium.cpp index f2a72d7..a7f2d6c 100644 --- a/webkit/port/platform/chromium/MimeTypeRegistryChromium.cpp +++ b/webkit/port/platform/chromium/MimeTypeRegistryChromium.cpp @@ -36,10 +36,8 @@ namespace WebCore { -// From MIMETypeRegistryMac.mm. PLATFORM(CG) seems wrong, this should -// probably be PLATFORM(CF), but the caller uses PLATFORM(CG). This is -// filed upstream at https://bugs.webkit.org/show_bug.cgi?id=21847. -#if PLATFORM(CG) +// From MIMETypeRegistryMac.mm. +#if PLATFORM(DARWIN) && PLATFORM(CG) String getMIMETypeForUTI(const String & uti) { CFStringRef utiref = uti.createCFString(); |