DescriptionCheck document.firstChild() exists to avoid nullptr deref
document.firstChild() can return nullptr when document has no Children.
This CL is in response for the comment in
https://codereview.chromium.org/1910433002/
BUG=405707
Committed: https://crrev.com/04c7245bc4ff706aaf9c1af480fd3065faf7478b
Cr-Commit-Position: refs/heads/master@{#388984}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|