#include "PlatformString.h"
#include <MimeType.h>
+#include <wtf/Assertions.h>
+#include <wtf/MainThread.h>
#include <wtf/text/CString.h>
namespace WebCore {
String MIMETypeRegistry::getMIMETypeForExtension(const String& ext)
{
+ ASSERT(isMainThread());
+
String str = ext.lower();
// Try WebCore built-in types.