commit | 049ae78c78eba87740a78ec5649c7cbfe6bd37f9 | [log] [tgz] |
---|---|---|
author | Jonathan Lee <jonathanjlee@google.com> | Thu Sep 18 17:21:17 2025 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 18 15:12:18 2025 -0700 |
tree | 1cde065ef074ad9c2b8ba83cde57ccd3e79a29f0 | |
parent | 801a08e30e581aae00e104e1424deab49b554121 [diff] |
[gtest] Clean up single-arg `testing::Invoke()`s Not needed and deprecated [0]. This CL should be a no-op. [0]: https://chromium.googlesource.com/external/github.com/google/googletest.git/+/a05c0915074bcd1b82f232e081da9bb6c205c28d/googlemock/include/gmock/gmock-actions.h#2046 Bug: 439838457 Change-Id: Ie4b10171060ebc300420fcfadac29b09c398fc8e Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/6967548 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> GitOrigin-RevId: ad8e3e906ca996977020a2cbf89668e737559f8f
diff --git a/util/mach/notify_server_test.cc b/util/mach/notify_server_test.cc index 2c9e7e6..e068e0e 100644 --- a/util/mach/notify_server_test.cc +++ b/util/mach/notify_server_test.cc
@@ -33,7 +33,6 @@ using testing::AllOf; using testing::DoAll; using testing::Eq; -using testing::Invoke; using testing::Pointee; using testing::ResultOf; using testing::Return; @@ -528,7 +527,7 @@ ResultOf(DeadNameRightRefCount, 2)), ResultOf(AuditPIDFromMachMessageTrailer, 0))) .WillOnce( - DoAll(WithArg<1>(Invoke(MachPortDeallocate)), Return(MIG_NO_REPLY))) + DoAll(WithArg<1>(MachPortDeallocate), Return(MIG_NO_REPLY))) .RetiresOnSaturation(); receive_right.reset();