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 aa41e1dba60254cceaefc0a5dfb2ba5b30c429da..3164d5e247d41a8fb3c65625419bc37e3e6069d9 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.h |
+++ b/third_party/WebKit/Source/core/dom/Element.h |
@@ -398,7 +398,7 @@ class CORE_EXPORT Element : public ContainerNode { |
virtual LayoutObject* createLayoutObject(const ComputedStyle&); |
virtual bool layoutObjectIsNeeded(const ComputedStyle&); |
void recalcStyle(StyleRecalcChange, Text* nextTextSibling = nullptr); |
- StyleRecalcChange rebuildLayoutTree(); |
+ void rebuildLayoutTree(); |
void pseudoStateChanged(CSSSelector::PseudoType); |
void setAnimationStyleChange(bool); |
void clearAnimationStyleChange(); |
@@ -821,6 +821,8 @@ class CORE_EXPORT Element : public ContainerNode { |
PassRefPtr<ComputedStyle> propagateInheritedProperties(StyleRecalcChange); |
StyleRecalcChange recalcOwnStyle(StyleRecalcChange, Text*); |
+ void reattachPseudoElementLayoutTree(PseudoId); |
+ void rebuildShadowRootLayoutTree(); |
inline void checkForEmptyStyleChange(); |
void updatePseudoElement(PseudoId, StyleRecalcChange); |