media: Switch from testing::CreateFunctor to lambda.
This change switches from using testing::CreateFunctor when calling testing::Invoke() to a C++ lambda. This improves test readibility and makes easier an upcoming changes to gmock_mutant.h (switch away from base::Bind()). Bug: 1007833, 806952 Change-Id: I1473a6041e0aedbc0b6f8eb212ebb918742bc7c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872815Reviewed-by:Dan Sanders <sandersd@chromium.org> Commit-Queue: Chris Mumford <cmumford@google.com> Cr-Commit-Position: refs/heads/master@{#708387}
Showing
Please register or sign in to comment