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

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

Issue 2740823005: Track lastTextNode during rebuildLayoutTree. (Closed)
Patch Set: Missing reset of lastTextNode for elements. Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 67cc18d223f45a271e3b057034d41fcac1ccc393..2e8ae00d18a39aaba1bbdc2e9b9df6db1272d5fc 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -414,8 +414,8 @@ class CORE_EXPORT Element : public ContainerNode {
virtual LayoutObject* createLayoutObject(const ComputedStyle&);
virtual bool layoutObjectIsNeeded(const ComputedStyle&);
- void recalcStyle(StyleRecalcChange, Text* nextTextSibling = nullptr);
- void rebuildLayoutTree();
+ void recalcStyle(StyleRecalcChange);
+ void rebuildLayoutTree(Text* nextTextSibling = nullptr);
void pseudoStateChanged(CSSSelector::PseudoType);
void setAnimationStyleChange(bool);
void clearAnimationStyleChange();
@@ -844,7 +844,7 @@ class CORE_EXPORT Element : public ContainerNode {
// and returns the new style. Otherwise, returns null.
PassRefPtr<ComputedStyle> propagateInheritedProperties(StyleRecalcChange);
- StyleRecalcChange recalcOwnStyle(StyleRecalcChange, Text*);
+ StyleRecalcChange recalcOwnStyle(StyleRecalcChange);
void reattachPseudoElementLayoutTree(PseudoId);
void rebuildShadowRootLayoutTree();
inline void checkForEmptyStyleChange();
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698