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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp

Issue 2473743003: Call Element::rebuildLayoutTree from Document::updateStyle directly (Closed)
Patch Set: Split up didRecalcStyle into didRecalcStyle and didRebuildLayoutTree Created 3 years, 11 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/html/HTMLFormControlElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
index 137234d96a52e2e8d90222a34aa222edafcdafc8..87eb7cd3b8dabe35baec71857c72472f89dcd693 100644
--- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
@@ -346,7 +346,7 @@ String HTMLFormControlElement::resultForDialogSubmit() {
return fastGetAttribute(valueAttr);
}
-void HTMLFormControlElement::didRecalcStyle() {
+void HTMLFormControlElement::didRebuildLayoutTree() {
if (LayoutObject* layoutObject = this->layoutObject())
layoutObject->updateFromElement();
}

Powered by Google App Engine
This is Rietveld 408576698