[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();