autofill: Make MatchesPattern thread-safe
MatchesPattern can be called from multiple threads on single process mode, and this caused crash on ASAN-built Chromium. This CL fixes this issue by making MatchesPattern thread-safe. Bug: 812182 Change-Id: Ibbb3df96264e28fffd0b8e0581f36c6294e02036 Reviewed-on: https://chromium-review.googlesource.com/921302 Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org> Reviewed-by:Evan Stade <estade@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#539084}
Showing
Please register or sign in to comment