[layout] Fix null-dref crash with removed layout object.
As above - we were trying to access a layout object which was
cleared from the fragment.
Fixed: 40286186
Change-Id: Ibae87e40759f1e9ebe39062c4ba6d8752b9a8125
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5760561
Reviewed-by: David Grogan dgrogan@chromium.org
Commit-Queue: Ian Kilpatrick ikilpatrick@chromium.org
Cr-Commit-Position: refs/heads/main@{#1337108}