| 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..4ffe25cc4abf224b78255a81dd44cf45fffa2415 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
| @@ -24,6 +24,7 @@
|
| #include "core/css/parser/MediaQueryParser.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/Element.h"
|
| +#include "core/frame/Deprecation.h"
|
| #include "core/frame/UseCounter.h"
|
| #include "platform/TraceEvent.h"
|
| #include "wtf/BitArray.h"
|
| @@ -692,6 +693,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() && unresolvedProperty != CSSPropertyInvalid)
|
| + Deprecation::showDeprecationWarning(m_styleSheet->singleOwnerDocument()->frame(), unresolvedProperty);
|
| if (range.consume().type() != ColonToken)
|
| return; // Parse error
|
|
|
|
|