| Index: third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp b/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp
|
| index fc718b047cd0fb1940873a8470ab2a897d08a96a..5a543dbf74b650040c1837d0526b36791ec2ce17 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp
|
| @@ -48,9 +48,10 @@ bool CSSFontFaceSrcValue::isSupportedFormat() const {
|
| // with the old WinIE style of font-face, we will also check to see if the URL
|
| // ends with .eot. If so, we'll go ahead and assume that we shouldn't load
|
| // it.
|
| - if (m_format.isEmpty())
|
| - return m_absoluteResource.startsWith("data:", TextCaseInsensitive) ||
|
| - !m_absoluteResource.endsWith(".eot", TextCaseInsensitive);
|
| + if (m_format.isEmpty()) {
|
| + return m_absoluteResource.startsWith("data:", TextCaseASCIIInsensitive) ||
|
| + !m_absoluteResource.endsWith(".eot", TextCaseASCIIInsensitive);
|
| + }
|
|
|
| return FontCustomPlatformData::supportsFormat(m_format);
|
| }
|
|
|