| Index: sky/engine/core/rendering/RenderCustomLayout.cpp
|
| diff --git a/sky/engine/core/rendering/RenderCustomLayout.cpp b/sky/engine/core/rendering/RenderCustomLayout.cpp
|
| index bc6ba6e33841fe42c7d11b0b0b8e5b5055ba025e..5f55b5f51eee844ce168134df93075577ca96942 100644
|
| --- a/sky/engine/core/rendering/RenderCustomLayout.cpp
|
| +++ b/sky/engine/core/rendering/RenderCustomLayout.cpp
|
| @@ -21,13 +21,6 @@ RenderCustomLayout::~RenderCustomLayout()
|
|
|
| void RenderCustomLayout::layout()
|
| {
|
| - // TODO(ojan): This should really be done by the author code, but
|
| - // if the author code doesn't call layout, then we won't clear the
|
| - // needsLayout bit and we'll assert.
|
| - for (RenderBox* child = firstChildBox(); child; child = child->nextSiblingBox()) {
|
| - child->layoutIfNeeded();
|
| - }
|
| -
|
| ASSERT(node()->isElementNode());
|
| toElement(node())->layoutManager()->handleEvent();
|
| clearNeedsLayout();
|
|
|