diff options
author | adamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-09 21:29:59 +0000 |
---|---|---|
committer | adamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-09 21:29:59 +0000 |
commit | 920b1fe955dc8107103f5e35e6cbf1b26f0bbbd9 (patch) | |
tree | 0273d25046d463d4c312313d86f32b57cf3b9595 /media | |
parent | caefca31244bafe863ae84842e1a246c5dec1b74 (diff) | |
download | chromium_src-920b1fe955dc8107103f5e35e6cbf1b26f0bbbd9.zip chromium_src-920b1fe955dc8107103f5e35e6cbf1b26f0bbbd9.tar.gz chromium_src-920b1fe955dc8107103f5e35e6cbf1b26f0bbbd9.tar.bz2 |
Use MessageLoopProxy instead of MessageLoop to dispatch notifications in ObserverListThreadsafe.
This is nearly identical to the reverted r96013, with the modification that
std::map::insert isn't used. Its invocation was complex (such that
it worked in some compilers but not in others) and the performance gain is
negligible in any use case I've seen in Chromium.
BUG=91589
Review URL: http://codereview.chromium.org/7604006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96076 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions