Add syntactic sugar for "move cursor to position" and use it in a test.
This fixes a bunch of "use of non-const ref" lint errors in a nicer way than just changing everything to pointers, since it's a reasonable API. NOPRESUBMIT=true Bug: none Change-Id: I894724ffb05db2e450f76db9d0b788c14c833a6d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2126253 Commit-Queue: Peter Kasting <pkasting@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Reviewed-by:Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#754746}
Showing
Please register or sign in to comment