[layoutng] Make sure we don't have an outdated cached_result_
cached_result_ is used for CurrentFragment(); we need to make sure it is up-to-date. Therefore, we can't just refuse to store a fragment if we have unpositioned floats. Instead, we just store the new fragment in these cases and handle the check when checking whether we can reuse the fragment. This supersedes https://crrev.com/c/1001722 Bug: 591099 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I934d2290ec496da6dbdd4a8a9c5e3dc78907049e Reviewed-on: https://chromium-review.googlesource.com/1004586Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#549531}
Showing
Please register or sign in to comment