Index: third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
index 7969585698ac4ce8d8fc6e1adc18842c599b380a..a3ccb67a4e4ffadd13cf818fc32aba4fb9f7c945 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
@@ -721,10 +721,7 @@ void LinkStyle::process() |
if (!m_owner->loadLink(type, as, builder.url())) |
return; |
- if (m_disabledState != Disabled && m_owner->relAttribute().isStyleSheet() && shouldLoadResource() && builder.url().isValid()) { |
- if (!styleSheetTypeIsSupported(type)) |
- UseCounter::countDeprecation(document(), UseCounter::NonCSSStyleSheetType); |
- |
+ if (m_disabledState != Disabled && m_owner->relAttribute().isStyleSheet() && styleSheetTypeIsSupported(type) && shouldLoadResource() && builder.url().isValid()) { |
if (resource()) { |
removePendingSheet(); |
clearResource(); |