Index: Source/core/inspector/InspectorPageAgent.cpp |
diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp |
index 9193e4b971144ffc460bfc2703937fa03b0e99d7..07394e30878b8a10156392627e043d73e9dc69f7 100644 |
--- a/Source/core/inspector/InspectorPageAgent.cpp |
+++ b/Source/core/inspector/InspectorPageAgent.cpp |
@@ -166,7 +166,7 @@ static PassOwnPtr<TextResourceDecoder> createXHRTextDecoder(const String& mimeTy |
{ |
if (!textEncodingName.isEmpty()) |
return TextResourceDecoder::create("text/plain", textEncodingName); |
- if (DOMImplementation::isXMLMIMEType(mimeType.lower())) { |
+ if (DOMImplementation::isXMLMIMEType(mimeType)) { |
OwnPtr<TextResourceDecoder> decoder = TextResourceDecoder::create("application/xml"); |
decoder->useLenientXMLDecoding(); |
return decoder.release(); |