Fix gmock leak issue in AutoplayUmaHelperTest
AutoplayUmaHelperTest currently uses GMock for mock AutoplayUmaHelper in order to check if events are correctly received. However this will make the test flaky since MockAutoplyUmaHelper is garbage-collected but GMock expect it to be destroyed when the test finishes. This CL marks MockAutoplayUmaHelper as AllowLeak which fixes the issue. BUG=672831 Review-Url: https://codereview.chromium.org/2562683004 Cr-Commit-Position: refs/heads/master@{#437939}
Showing
Please register or sign in to comment