Fix DOM Parts crash with parseparts
Fixed: 372994343
Change-Id: I1e469bcfd8f23d38e1641f7e944c46743b934c6a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6006218
Auto-Submit: Mason Freed masonf@chromium.org
Reviewed-by: Di Zhang dizhangg@chromium.org
Commit-Queue: Mason Freed masonf@chromium.org
Cr-Commit-Position: refs/heads/main@{#1381342}