| Index: Source/core/fetch/CSSStyleSheetResource.cpp
|
| diff --git a/Source/core/fetch/CSSStyleSheetResource.cpp b/Source/core/fetch/CSSStyleSheetResource.cpp
|
| index 902e189f28e32a85ef3225e7876e8af79ddc1311..cf859616970619ff8b6839b328942860166cb73c 100644
|
| --- a/Source/core/fetch/CSSStyleSheetResource.cpp
|
| +++ b/Source/core/fetch/CSSStyleSheetResource.cpp
|
| @@ -123,7 +123,7 @@ bool CSSStyleSheetResource::canUseSheet(bool enforceMIMEType, bool* hasValidMIME
|
| //
|
| // This code defaults to allowing the stylesheet for non-HTTP protocols so
|
| // folks can use standards mode for local HTML documents.
|
| - String mimeType = extractMIMETypeFromMediaType(response().httpHeaderField("Content-Type"));
|
| + AtomicString mimeType = extractMIMETypeFromMediaType(response().httpHeaderField("Content-Type"));
|
| bool typeOK = mimeType.isEmpty() || equalIgnoringCase(mimeType, "text/css") || equalIgnoringCase(mimeType, "application/x-unknown-content-type");
|
| if (hasValidMIMEType)
|
| *hasValidMIMEType = typeOK;
|
|
|