#ifndef ElementResolveContext_h
#define ElementResolveContext_h
-#include "core/dom/Document.h"
#include "core/dom/Element.h"
#include "core/rendering/style/RenderStyleConstants.h"
-namespace WebCore {
+namespace blink {
class ContainerNode;
+class Document;
class Element;
class RenderStyle;
class ElementResolveContext {
STACK_ALLOCATED();
public:
- ElementResolveContext()
- : m_element(nullptr)
- , m_parentNode(nullptr)
- , m_rootElementStyle(0)
- , m_elementLinkState(NotInsideLink)
- , m_distributedToInsertionPoint(false)
- {
- }
+ explicit ElementResolveContext(const Document&);
explicit ElementResolveContext(Element&);
bool m_distributedToInsertionPoint;
};
-} // namespace WebCore
+} // namespace blink
#endif // ElementResolveContext_h