fixup: ensure preloader_ is non-null before ScanAndPreload
A previous security fix prevented text documents from creating preloader_ objects. Calling ScanAndPreload in these cases is incorrect and normally DCHECKed (but it seems like this case is sufficiently rare that it made it into the wild). Bug: 1166786, 901056 Change-Id: Ia1530536d644396601e5d7ab88a878ae378ad832 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2630742 Auto-Submit: Richard Townsend <richard.townsend@arm.com> Commit-Queue: Mason Freed <masonfreed@chromium.org> Reviewed-by:Mason Freed <masonfreed@chromium.org> Cr-Commit-Position: refs/heads/master@{#844141}
Showing
Please register or sign in to comment