Fix a nullptr deref in FontFaceSetDocument::LCPLimitReached()
FontFaceSetDocument::lcp_limit_timer_ can be fired after document shutdown, in which case GetDocument() returns a nullptr. This patch handles that to fix a crash. Bug: 1074714 Change-Id: I9895716b8694b25ec22f93016c349a8bd6018f53 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2168759 Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:Rune Lillesveen <futhark@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#763384}
Showing
Please register or sign in to comment