Commit d1971940 authored by Stefan Zager's avatar Stefan Zager Committed by Commit Bot

Remove redundant call to UpdateGeometriesIfNeeded

This already gets called from PerformPostLayoutTasks. That's a better
place for it, because it means the call happens before we recurse
into child frames and run layout in them, since the geometry update
call invalidate layout in the child frames.

Change-Id: I145f054b7516e95545d68402fae38519c6706557
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1800922Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Commit-Queue: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697828}
parent 3be53bd4
......@@ -2902,8 +2902,6 @@ void LocalFrameView::UpdateStyleAndLayoutIfNeededRecursive() {
frame_->GetDocument()->GetLayoutView()->AssertLaidOut();
#endif
UpdateGeometriesIfNeeded();
if (Lifecycle().GetState() < DocumentLifecycle::kLayoutClean)
Lifecycle().AdvanceTo(DocumentLifecycle::kLayoutClean);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment