Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2398293003: Move Layout Tree Construction code into Element::rebuildLayoutTree() (Closed)
Patch Set: Run git cl format third_party/WebKit Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 208585d7af83e48a1ed63bc2b1436893cec7586d..6f673b53d6c652c7d3db5fb839eb9149876bc373 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -400,6 +400,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();
nainar 2016/10/07 05:05:05 Moved this here because it will need to be accesse
void pseudoStateChanged(CSSSelector::PseudoType);
void setAnimationStyleChange(bool);
void clearAnimationStyleChange();
@@ -815,8 +816,7 @@ class CORE_EXPORT Element : public ContainerNode {
PassRefPtr<ComputedStyle> propagateInheritedProperties(StyleRecalcChange);
StyleRecalcChange recalcOwnStyle(StyleRecalcChange);
- StyleRecalcChange rebuildLayoutTree();
-
+ void reattachPseudoElementLayoutTree(PseudoId);
inline void checkForEmptyStyleChange();
void updatePseudoElement(PseudoId, StyleRecalcChange);

Powered by Google App Engine
This is Rietveld 408576698