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 8a26e38bde88c7f6809dcd81070e0e62cd5c169b..3ffced8e04ea0447e2e5c4528a8baf8c329fd51d 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.h |
+++ b/third_party/WebKit/Source/core/dom/Element.h |
@@ -417,7 +417,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(); |
@@ -770,6 +770,7 @@ class CORE_EXPORT Element : public ContainerNode { |
virtual void willRecalcStyle(StyleRecalcChange); |
virtual void didRecalcStyle(); |
+ virtual void didRebuildLayoutTree(); |
virtual PassRefPtr<ComputedStyle> customStyleForLayoutObject(); |
virtual bool shouldRegisterAsNamedItem() const { return false; } |
@@ -836,6 +837,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); |