Eliminate potential redundant calls to UpdateGeometry.
LocalFrameView::UpdateGeometries is called from PerformPostLayoutTasks, and then UpdateGeometriesIfNeeded is called after layout in UpdateStyleAndLayoutIfNeededRecursiveInternal. If the first call doesn't clear the needs_update_geometries_ flag, then the second call will do unnecessary work. BUG=811457 R=chrishtr@chromium.org Change-Id: Idc8e11c444d8b02cd9d54c2fd158bbdd59bd5de4 Reviewed-on: https://chromium-review.googlesource.com/923119Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Stefan Zager <szager@chromium.org> Cr-Commit-Position: refs/heads/master@{#537226}
Showing
Please register or sign in to comment