Chromium Code Reviews| Index: Source/core/rendering/SubtreeLayoutScope.cpp |
| diff --git a/Source/core/rendering/SubtreeLayoutScope.cpp b/Source/core/rendering/SubtreeLayoutScope.cpp |
| index c3bfefe745a64383618009fb6e6b9e43b7744e81..cec1e3356878614c732e1e90015f8aed60a600cf 100644 |
| --- a/Source/core/rendering/SubtreeLayoutScope.cpp |
| +++ b/Source/core/rendering/SubtreeLayoutScope.cpp |
| @@ -44,6 +44,12 @@ SubtreeLayoutScope::SubtreeLayoutScope(RenderObject* root) |
| SubtreeLayoutScope::~SubtreeLayoutScope() |
| { |
| + // Partial layout early-exits layotu and will leave the tree as needing layout. |
|
ojan
2013/08/27 01:33:41
typo: layotu
|
| + if (m_root->frameView()->partialLayout().shouldStop()) { |
| + ASSERT(m_root->needsLayout()); |
| + return; |
| + } |
| + |
| RELEASE_ASSERT(!m_root->needsLayout()); |
| #ifndef NDEBUG |