Correctly track the target window's lifetime in WindowResizer
The recorder is created in constructor, so only scenario that I can think of is that resizer is destroyed during SetBounds. I also added CHECK to catch the scenario where the resizer is destroyed during resize for other reasons. I'll remove the code once fix is confirmed. Bug: 970911 Test: None. Repro step is unknown and this is speculative fix. Change-Id: I58e20fe916664867b776d36b7720a2a2fb5ee357 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1655968Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#668458}
Showing
Please register or sign in to comment