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..aaff12793f07530dc5fd7f3962ca1bf0ce2f0eb9 100644 |
| --- a/Source/core/rendering/SubtreeLayoutScope.cpp |
| +++ b/Source/core/rendering/SubtreeLayoutScope.cpp |
| @@ -44,6 +44,9 @@ SubtreeLayoutScope::SubtreeLayoutScope(RenderObject* root) |
| SubtreeLayoutScope::~SubtreeLayoutScope() |
| { |
| + if (m_root->document()->view()->shouldStopPartialLayout()) |
|
eseidel
2013/08/20 21:00:39
You might leave a comment here explaining why.
pdr.
2013/08/26 05:50:40
Done, and added an assert that the root does need
|
| + return; |
| + |
| RELEASE_ASSERT(!m_root->needsLayout()); |
| #ifndef NDEBUG |