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

Unified Diff: Source/core/layout/SubtreeLayoutScope.cpp

Issue 1025213002: Begin tracking why layout is invalidated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 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 | « Source/core/layout/SubtreeLayoutScope.h ('k') | Source/core/layout/TextAutosizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/SubtreeLayoutScope.cpp
diff --git a/Source/core/layout/SubtreeLayoutScope.cpp b/Source/core/layout/SubtreeLayoutScope.cpp
index 2a529e28497bb51e5cc533638d85f368cc4a3ddb..c9f31de9d258222f2705ed1eb6b284a931dfb960 100644
--- a/Source/core/layout/SubtreeLayoutScope.cpp
+++ b/Source/core/layout/SubtreeLayoutScope.cpp
@@ -52,10 +52,10 @@ SubtreeLayoutScope::~SubtreeLayoutScope()
#endif
}
-void SubtreeLayoutScope::setNeedsLayout(LayoutObject* descendant)
+void SubtreeLayoutScope::setNeedsLayout(LayoutObject* descendant, LayoutInvalidationReasonForTracing reason)
{
ASSERT(descendant->isDescendantOf(&m_root));
- descendant->setNeedsLayout(MarkContainerChain, this);
+ descendant->setNeedsLayout(reason, MarkContainerChain, this);
}
void SubtreeLayoutScope::setChildNeedsLayout(LayoutObject* descendant)
« no previous file with comments | « Source/core/layout/SubtreeLayoutScope.h ('k') | Source/core/layout/TextAutosizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698