| commit | 24bf381b82d0222181a2d3f8e2184e07c35989da | [log] [tgz] |
|---|---|---|
| author | esprehn <esprehn@chromium.org> | Fri Jul 15 08:52:53 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Fri Jul 15 08:54:55 2016 |
| tree | 0468efab590a073e569d6b43f7afeb6793e18e15 | |
| parent | 52116563313f1ebe1e2b966b429d217442e3362b [diff] |
Fix static race in DatabaseAuthorizer's whitelistedFunctions. The DatabaseAuthorizer is created on the main thread but used on the database thread, we should use a thread safe static local to do the init. BUG=628480 Review-Url: https://codereview.chromium.org/2152173002 Cr-Commit-Position: refs/heads/master@{#405727}