Always build marker positions regardless of if markers actually exist
When a marker with an id that had previously been referenced in the
document appeared, the marker positions would be invalid and not be
updated - thus markers would not be painted at all.
Don't check for/require marker existence to calculate marker positions.
This may be sub-optimal for documents where markers are in error, but
those should be considered edge-cases.
Bug: 40134477
Change-Id: I965c3f10f6a92fa5b07478978e31303646e1d0c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5497516
Commit-Queue: Philip Rogers pdr@chromium.org
Auto-Submit: Fredrik Söderquist fs@opera.com
Reviewed-by: Philip Rogers pdr@chromium.org
Cr-Commit-Position: refs/heads/main@{#1294500}