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

Unified Diff: chrome_frame/test/chrome_frame_ui_test_utils.cc

Issue 8555001: base::Bind: Convert chrome_frame/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bad merge. Created 9 years, 1 month 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
Index: chrome_frame/test/chrome_frame_ui_test_utils.cc
diff --git a/chrome_frame/test/chrome_frame_ui_test_utils.cc b/chrome_frame/test/chrome_frame_ui_test_utils.cc
index 80a7ead8d247fd58ffdad62ce3563887f98e2cd6..ffec43305756c6d1269ff5d777e11bcee59117ba 100644
--- a/chrome_frame/test/chrome_frame_ui_test_utils.cc
+++ b/chrome_frame/test/chrome_frame_ui_test_utils.cc
@@ -9,6 +9,7 @@
#include <sstream>
#include <stack>
+#include "base/bind.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
#include "base/path_service.h"
@@ -658,9 +659,9 @@ void AccEventObserver::OnEventReceived(DWORD event,
LONG child_id) {
// Process events in a separate task to stop reentrancy problems.
DCHECK(MessageLoop::current());
- MessageLoop::current()->PostTask(FROM_HERE,
- NewRunnableMethod(event_handler_.get(), &EventHandler::Handle,
- event, hwnd, object_id, child_id));
+ MessageLoop::current()->PostTask(
+ FROM_HERE, base::Bind(&EventHandler::Handle, event_handler_.get(), event,
+ hwnd, object_id, child_id));
}
// AccEventObserver::EventHandler methods

Powered by Google App Engine
This is Rietveld 408576698