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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.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/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index a43e6d66f8ee0b4559685b200eeaa299fc9e97a8..b728f82df2359ce85fc1ba19c8332136bebd8f2b 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -642,7 +642,7 @@ void HTMLMediaElement::attachLayoutTree(const AttachContext& context) {
layoutObject()->updateFromElement();
}
-void HTMLMediaElement::didRecalcStyle() {
+void HTMLMediaElement::didRebuildLayoutTree() {
if (layoutObject())
layoutObject()->updateFromElement();
}

Powered by Google App Engine
This is Rietveld 408576698