commit | d9d5b48cddd6e7327a863cdbaac7cc365df4568c | [log] [tgz] |
---|---|---|
author | haraken <haraken@chromium.org> | Mon Sep 29 06:59:49 2014 |
committer | Commit bot <commit-bot@chromium.org> | Mon Sep 29 06:59:59 2014 |
tree | 67d2bc9e7ffb5dbfef0bb02cdca67750d5089e8c | |
parent | 8b0ae1bd5eabb6490a7c0237b40d925c46c391d0 [diff] |
Fix memory leakage in VideoSourceHandlerTest.OpenWithoutClose This CL is needed for landing https://codereview.chromium.org/552653005. https://codereview.chromium.org/552653005 moves MediaStream-related objects to Oilpan's heap, and the objects are not collected until a next GC is triggered. Thus some of the Chromium-side tests need to clear those objects and explicitly trigger a GC in order to make sure that all objects are collected by the end of each test. Otherwise LSan complains the leakage. I've already landed a similar fix before: https://codereview.chromium.org/566793002/ I think this CL is a final fix for the memory leakage. BUG=416466 Review URL: https://codereview.chromium.org/596923003 Cr-Commit-Position: refs/heads/master@{#297145}