Skip to content
Snippets Groups Projects
user avatar
jar@chromium.org authored
I adjusted the code so tha there was no chance
for the pending response count to get to zero
until all the increments had been applied, and
all the rendereres had been notified.  Without
this change, there was a chance that the tally
would hit zero prematurely, triggering a
a premature completion.

I went through the code clarifying where
a lock was needed, and where it wasn't.
In all cases, we now either take a lock, or
assert we're consistently on a single
thread (meaning we don't need a lock).

r=davemoore
Review URL: http://codereview.chromium.org/4193008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64781 0039d316-1c4b-4281-b951-d872f2087c98
43e9e5b5
History
Name Last commit Last update