blink/bindings: Add thread annotations to ParkableString.
This CL turns load-bearing comments into thread annotations checked by the clang static analyzer. Comments were actually out-of-date already (as it wasn't specified that is_young_ must be protected by the mutex), though the code was correct. No behavior change, and besides the annotations, unit tests have to change as they need locking to access a variable. Bug: 924164 Change-Id: Iecac23df0c2e61f4d42be105387fa6bf7605d8cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1849854Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#704533}
Showing
Please register or sign in to comment