| 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 b2d57673d0ddc37c8af0cb2bcc3343c4a3ddecf1..40c2896c6a9d14a72a56e374145cbafd385d7c3d 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
| @@ -780,10 +780,12 @@ StyleRule* CSSParserImpl::consumeStyleRule(CSSParserTokenRange prelude,
|
| } else if (m_deferPropertyParsing &&
|
| shouldLazilyParseProperties(selectorList)) {
|
| DCHECK(m_styleSheet);
|
| - return StyleRule::createLazy(
|
| + auto s = StyleRule::createLazy(
|
| std::move(selectorList),
|
| createDeferredPropertiesClosure(block, m_styleSheet->parserContext(),
|
| m_context.useCounter()));
|
| + s->properties();
|
| + return s;
|
| }
|
| consumeDeclarationList(block, StyleRule::Style);
|
| return StyleRule::create(
|
|
|