Avoid RepeatingClosure for the QuitClosure in BookmarkBrowsertest
Since the test uses a RunLoop now instead of MessageLoopRunner, the Quit action will exit the RunLoop immediately, terminating the timer and preventing CheckAnimation() from running again. We could pass a OnceClosure in, but since RunLoop is on the stack, passing a pointer to it is slightly more straightforward with less indirection. R=vasilii@chromium.org Bug: 1030275 Change-Id: I27efc585f8d63f7d9204288b45ed2d4b22b77b43 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1947559Reviewed-by:Vasilii Sukhanov <vasilii@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#721547}
Showing
Please register or sign in to comment