diff options
author | jsbell@chromium.org <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-22 22:21:09 +0000 |
---|---|---|
committer | jsbell@chromium.org <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-22 22:21:09 +0000 |
commit | c4f03aa9b2572817f033aaedf69e0b90e04f1702 (patch) | |
tree | b0fbdf88f1c98f6fc6da2cbd02dfe5404c240529 /net/quic/quic_session.cc | |
parent | 0f22b0c12b12933f704b62464c93d668c188bbd0 (diff) | |
download | chromium_src-c4f03aa9b2572817f033aaedf69e0b90e04f1702.zip chromium_src-c4f03aa9b2572817f033aaedf69e0b90e04f1702.tar.gz chromium_src-c4f03aa9b2572817f033aaedf69e0b90e04f1702.tar.bz2 |
Make refcounting of IndexedDBFactory threadsafe
When IndexedDBContext is destroyed it posts a task to the IDB thread to
run IndexedDBFactory::ContextDestroyed() to do some cleanup, but drops
its own reference, leading to a refcounting/threading race. Follow the
rules in base/callbacks.h to use RefCountedThreadSafe<> to fix.
R=alecflett,dgrogan
TBR=glider
BUG=321596
Review URL: https://codereview.chromium.org/77863005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236842 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_session.cc')
0 files changed, 0 insertions, 0 deletions