summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-10-17 16:21:14 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-17 16:21:14 +0200
commit8995b83bcbfbb68245f779b64e5517627c6cc6ea (patch)
tree17985605dab9263cc2444bd4d45f189e142cca7c /Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp
parentb9c9652036d5e9f1e29c574f40bc73a35c81ace6 (diff)
Imported WebKit commit cf4f8fc6f19b0629f51860cb2d4b25e139d07e00 (http://svn.webkit.org/repository/webkit/trunk@131592)
New snapshot that includes the build fixes for Mac OS X 10.6 and earlier as well as the previously cherry-picked changes
Diffstat (limited to 'Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp')
-rw-r--r--Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp b/Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp
index 8a0d3d2b6..e96fb2ba7 100644
--- a/Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp
+++ b/Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp
@@ -101,8 +101,8 @@ String MIMETypeRegistry::getPreferredExtensionForMIMEType(const String& type)
initMIMETypeEntensionMap();
for (HashMap<String, String>::iterator i = mimetypeMap.begin(); i != mimetypeMap.end(); ++i) {
- if (equalIgnoringCase(i->second, type))
- return i->first;
+ if (equalIgnoringCase(i->value, type))
+ return i->key;
}
return String();