| 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 761d4673df44b862e593b5abb26c0ec635f52423..8728235c44987740da1457abe2ff27f63a87465d 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
|
| @@ -46,6 +46,8 @@ StyleResolverState::StyleResolverState(Document& document, const ElementResolveC
|
| // TODO(jchaffraix): We should make m_parentStyle const (https://crbug.com/468152)
|
| m_parentStyle = const_cast<ComputedStyle*>(m_elementContext.parentStyle());
|
| }
|
| +
|
| + DCHECK(document.isActive());
|
| }
|
|
|
| StyleResolverState::StyleResolverState(Document& document, Element* element, const ComputedStyle* parentStyle)
|
|
|