Index: third_party/WebKit/Source/core/dom/Element.h |
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h |
index 4e02a9918331fa31af5caa34ed10c06e752c7849..f570993188fd25295d49c670dc7491fc0cc20597 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.h |
+++ b/third_party/WebKit/Source/core/dom/Element.h |
@@ -418,6 +418,7 @@ class CORE_EXPORT Element : public ContainerNode { |
virtual bool layoutObjectIsNeeded(const ComputedStyle&); |
void recalcStyle(StyleRecalcChange, Text* nextTextSibling = nullptr); |
void rebuildLayoutTree(); |
+ void recalcStyleForLayout(); |
void pseudoStateChanged(CSSSelector::PseudoType); |
void setAnimationStyleChange(bool); |
void clearAnimationStyleChange(); |
@@ -849,6 +850,8 @@ class CORE_EXPORT Element : public ContainerNode { |
StyleRecalcChange recalcOwnStyle(StyleRecalcChange, Text*); |
void reattachPseudoElementLayoutTree(PseudoId); |
void rebuildShadowRootLayoutTree(); |
+ void recalcOwnStyleForLayout(); |
+ void recalcShadowRootStylesForLayout(); |
inline void checkForEmptyStyleChange(); |
void updatePseudoElement(PseudoId, StyleRecalcChange); |