[Sync] Fix bookmarks initial merge for local entities.
Currently, during the initial merge of bookmarks it may be possible that processing of local creation may cause crash if the previous neighbour wasn't processed yet (due to matching by GUID with some remote update). This patch fixes that behaviour by finding the last tracked entity. That entity will be used to calculate next UniquePosition. Bug: 1050776 Change-Id: I5275aee07d5bd5f4e4ac534734c209ec2ed78b85 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144160 Commit-Queue: Rushan Suleymanov <rushans@google.com> Reviewed-by:Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#758159}
Showing
Please register or sign in to comment