summaryrefslogtreecommitdiffstats
path: root/sync/engine
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-25 05:51:40 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-25 05:51:40 +0000
commit633a10a8162d96014ecb1ddcd01e1bb1e584d6c1 (patch)
tree7ac914d112e57486fbb2f600616aa5efc50512b2 /sync/engine
parent251e8c5b5d3bc50cc3a07d2088a5ea739d7aabc6 (diff)
downloadchromium_src-633a10a8162d96014ecb1ddcd01e1bb1e584d6c1.zip
chromium_src-633a10a8162d96014ecb1ddcd01e1bb1e584d6c1.tar.gz
chromium_src-633a10a8162d96014ecb1ddcd01e1bb1e584d6c1.tar.bz2
mojo: don't leak ServiceConnectors if they are re-Added to ServiceRegistry
It seems easy enough to AddService<T> for multiple T where T implements a given interface Foo; I did it by accident in a test. This patch keeps the overwrite behavior the same, but deletes the old ServiceConnector. Also add a test to verify ServiceConnectors are deleted from ServiceRegistry in all cases. BUG=none Review URL: https://codereview.chromium.org/340653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279617 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/engine')
0 files changed, 0 insertions, 0 deletions