| Index: third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
|
| index cc2e3c55ec01c2e2e1b1c4f62d5a482a6244c3a1..03afbc0f4e7be22c7c89a86f0d8f5479b7c4ff73 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
|
| @@ -29,6 +29,16 @@
|
|
|
| namespace blink {
|
|
|
| +StyleResolverState::StyleResolverState(const ComputedStyle* parentStyle)
|
| + : m_document(nullptr)
|
| + , m_style(nullptr)
|
| + , m_parentStyle(const_cast<ComputedStyle*>(parentStyle))
|
| + , m_applyPropertyToRegularStyle(true)
|
| + , m_applyPropertyToVisitedLinkStyle(false)
|
| + , m_hasDirAutoAttribute(false)
|
| +{
|
| +}
|
| +
|
| StyleResolverState::StyleResolverState(Document& document, const ElementResolveContext& elementContext, const ComputedStyle* parentStyle)
|
| : m_elementContext(elementContext)
|
| , m_document(document)
|
|
|