| Index: Source/core/css/resolver/ElementResolveContext.h
|
| diff --git a/Source/core/css/resolver/ElementResolveContext.h b/Source/core/css/resolver/ElementResolveContext.h
|
| index 09b8cd105c0b09a52401488136873f525f23432d..1c74738a9f96a23759de44e2eb86665d56dc4320 100644
|
| --- a/Source/core/css/resolver/ElementResolveContext.h
|
| +++ b/Source/core/css/resolver/ElementResolveContext.h
|
| @@ -38,10 +38,11 @@ class ElementResolveContext {
|
| public:
|
| explicit ElementResolveContext(const Document&);
|
|
|
| - explicit ElementResolveContext(Element&);
|
| + ElementResolveContext(Element&, RenderStyle* parentStyle);
|
|
|
| Element* element() const { return m_element; }
|
| const ContainerNode* parentNode() const { return m_parentNode; }
|
| + RenderStyle* parentStyle() const { return m_parentStyle; }
|
| const RenderStyle* rootElementStyle() const { return m_rootElementStyle; }
|
| EInsideLink elementLinkState() const { return m_elementLinkState; }
|
| bool distributedToInsertionPoint() const { return m_distributedToInsertionPoint; }
|
| @@ -49,6 +50,7 @@ public:
|
| private:
|
| RawPtrWillBeMember<Element> m_element;
|
| RawPtrWillBeMember<ContainerNode> m_parentNode;
|
| + RenderStyle* m_parentStyle;
|
| RenderStyle* m_rootElementStyle;
|
| EInsideLink m_elementLinkState;
|
| bool m_distributedToInsertionPoint;
|
|
|