Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5396)

Unified Diff: chrome_frame/vtable_patch_manager_unittest.cc

Issue 9111032: Change over IgnoreReturn to IgnoreResult. remove IgnoreReturn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix it for realz Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/urlmon_url_request.cc ('k') | content/browser/browser_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome_frame/urlmon_url_request.cc ('k') | content/browser/browser_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698