commit | 76b1211e61b468f174b871732126e43df5de274c | [log] [tgz] |
---|---|---|
author | tzik <tzik@chromium.org> | Mon Mar 20 16:14:07 2017 +0900 |
committer | Qijiang Fan <fqj@google.com> | Fri Jun 05 05:36:00 2020 +0900 |
tree | 7fe12c84d51247d9e9d50063129c22d523ad7f2a | |
parent | 559ec4e09abe4afc898711b23c351ecaed442b0f [diff] |
Avoid to use the method pointer to Callback<>::Run on gmock tests This CL replaces a problematic method pointers to Callback::Run with testing::CreateFunctor. The method pointer to Callback::Run prevents to make it a template method or to overload it for cleaner implementation. Review-Url: https://codereview.chromium.org/2758713002 Cr-Commit-Position: refs/heads/master@{#458018} CrOS-Libchrome-Original-Commit: 2e53fef9596667824f9f0467fb6b2eabf1eb121e