[Mfill][Android] Null-check possibly null window
https://crrev.com/c/2403641 was supposed to prevent a rare crash (see linked bug 1049090) but DCHECKed the possible nullptr instead of returning nullptr which only results in a different stacktrace (see linked bug 1129267). Since the crash itself shouldn't have become more prominent, a revert of that CL makes no sense and this upstream fix is sufficient. Bug: 1049090, 1129267 Change-Id: Iff6b6103439cb39c1cd96a09eb7ec6e0a1b31044 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414302Reviewed-by:Jan Wilken Dörrie <jdoerrie@chromium.org> Commit-Queue: Friedrich [CET] <fhorschig@chromium.org> Cr-Commit-Position: refs/heads/master@{#807870}
Showing
Please register or sign in to comment