There were a couple of issues preventing paint entries from firing after
the first soft navigation is detected:
1) The related flags were reset only once.
2) Image paint flags were not reset at all.
This CL fixes those two issues.
There's another issue [1] this work revealed, which would wait for a
followup.
[1] https://crbug.com/1397720
Bug: 1395507
Change-Id: Ib5aa9f240c7d67f934315a2643ccc022ad4ced72
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4083642
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080310}