Crash when SetFocusedElement is called during layout
I think the crash in https://crbug.com/848212 is caused due to Document::focused_element_ being cleared out during the UpdateStyleAndLayoutIgnorePendingStylesheetsForNode call in Document::SetFocusedElement, but I'm unable to reproduce a situtation where this happens. This CL adds a CHECK that crashes when SetFocusedElement is called during UpdateStyleAndLayout, just so I can get some stack traces in the wild and confirm this theory. Bug: 848212 Change-Id: Ia9293ea155e4ae976592166e7ab4f936f25f3f38 Reviewed-on: https://chromium-review.googlesource.com/1085607 Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by:Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#564337}
Showing
Please register or sign in to comment