DescriptionMake MockImageCaptureClient RefCountedThreadSafe
MockImageCaptureClient has non-thread-safe ref count, and touched from
multiple threads. Though the access ordering to the ref count is well
controlled and there's no data race, the usage causes a false positive
DCHECK failure on an upcoming strict execution sequence check by:
https://codereview.chromium.org/2666423002/
This CL converts MockImageCaptureClient to RefCountedThreadSafe to
avoid the failure.
BUG=688072
Review-Url: https://codereview.chromium.org/2699073002
Cr-Commit-Position: refs/heads/master@{#451562}
Committed: https://chromium.googlesource.com/chromium/src/+/d8359a676ba9f7c6446f5aa2449466ff517efc9c
Patch Set 1 #Patch Set 2 : rebase #
Messages
Total messages: 14 (10 generated)
|