| Index: chrome_frame/vtable_patch_manager_unittest.cc
|
| diff --git a/chrome_frame/vtable_patch_manager_unittest.cc b/chrome_frame/vtable_patch_manager_unittest.cc
|
| index 2176a05225abdb09dc16b83751fbb102636f75b8..53ece2c696055b27d6db6148b8d3d57cc983e2ac 100644
|
| --- a/chrome_frame/vtable_patch_manager_unittest.cc
|
| +++ b/chrome_frame/vtable_patch_manager_unittest.cc
|
| @@ -221,14 +221,13 @@ TEST_F(VtablePatchManagerTest, ThreadSafePatching) {
|
| // Instruct the background thread to patch factory_.
|
| background.message_loop()->PostTask(
|
| FROM_HERE,
|
| - base::IgnoreReturn<HRESULT>(
|
| - base::Bind(&vtable_patch::PatchInterfaceMethods, &factory_,
|
| - &IClassFactory_PatchInfo[0])));
|
| + base::Bind(base::IgnoreResult(&vtable_patch::PatchInterfaceMethods),
|
| + &factory_, &IClassFactory_PatchInfo[0]));
|
|
|
| // And subsequently to signal the event. Neither of these actions should
|
| // occur until we've released the patch lock.
|
| background.message_loop()->PostTask(
|
| - FROM_HERE, base::IgnoreReturn<BOOL>(base::Bind(::SetEvent, event.Get())));
|
| + FROM_HERE, base::Bind(base::IgnoreResult(::SetEvent), event.Get()));
|
|
|
| // Wait for a little while, to give the background thread time to process.
|
| // We expect this wait to time out, as the background thread should end up
|
| @@ -263,14 +262,13 @@ TEST_F(VtablePatchManagerTest, ThreadSafePatching) {
|
| // Instruct the background thread to unpatch.
|
| background.message_loop()->PostTask(
|
| FROM_HERE,
|
| - base::IgnoreReturn<HRESULT>(
|
| - base::Bind(&vtable_patch::UnpatchInterfaceMethods,
|
| - &IClassFactory_PatchInfo[0])));
|
| + base::Bind(base::IgnoreResult(&vtable_patch::UnpatchInterfaceMethods),
|
| + &IClassFactory_PatchInfo[0]));
|
|
|
| // And subsequently to signal the event. Neither of these actions should
|
| // occur until we've released the patch lock.
|
| background.message_loop()->PostTask(
|
| - FROM_HERE, base::IgnoreReturn<BOOL>(base::Bind(::SetEvent, event.Get())));
|
| + FROM_HERE, base::Bind(base::IgnoreResult(::SetEvent), event.Get()));
|
|
|
| // Wait for a little while, to give the background thread time to process.
|
| // We expect this wait to time out, as the background thread should end up
|
|
|