summaryrefslogtreecommitdiffstats
path: root/DEPS
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-17 15:35:14 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-17 15:35:14 +0000
commit5b4fda28ba487bc01b83b1d32ab3988dac9270c2 (patch)
tree74a3fb325b1e7ac2376b7f9598c2fac83b26f48a /DEPS
parent49c6319f3f5881d16c9a82f2350e46dd7ee05b7f (diff)
downloadchromium_src-5b4fda28ba487bc01b83b1d32ab3988dac9270c2.zip
chromium_src-5b4fda28ba487bc01b83b1d32ab3988dac9270c2.tar.gz
chromium_src-5b4fda28ba487bc01b83b1d32ab3988dac9270c2.tar.bz2
Add a lock to read |state_| in UIModelWorker::DoWorkAndWait. We don't
strictly need to acquire the lock here because this can only get called while !syncapi_has_shutdown_ and STOPPED could only get set after that bool is false (and that bool is protected by locks), the purpose of this DCHECK/return is for catching developer error in extraordinary cases, so in a way, adding ANNOTATE_UNPROTECTED_READ would seem hypocritical. BUG=32892 TEST=UIModelWorkerTest Review URL: http://codereview.chromium.org/965002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41840 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'DEPS')
0 files changed, 0 insertions, 0 deletions