Index: third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp |
index 93be952e3cdc4455f546b926a4ba3ca096cb73ed..83ba8646040b82280c583a040626046dc0532155 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp |
@@ -692,6 +692,8 @@ void CSSParserImpl::consumeDeclaration(CSSParserTokenRange range, StyleRule::Typ |
ASSERT(range.peek().type() == IdentToken); |
const CSSParserToken& token = range.consumeIncludingWhitespace(); |
CSSPropertyID unresolvedProperty = token.parseAsUnresolvedCSSPropertyID(); |
+ if (m_styleSheet && m_styleSheet->singleOwnerDocument()) |
+ UseCounter::showDeprecationWarning(m_styleSheet->singleOwnerDocument()->frame(), unresolvedProperty); |
if (range.consume().type() != ColonToken) |
return; // Parse error |