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

Unified Diff: chrome/test/base/view_event_test_base.cc

Issue 9071001: base::Bind: Remove ScopedRunnableMethodFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/test/base/view_event_test_base.cc
diff --git a/chrome/test/base/view_event_test_base.cc b/chrome/test/base/view_event_test_base.cc
index 97dbe7950baa3e7d7f8f31429e0724d96d678894..2d64b5b18170e6ae036c1433090cca5713b31156 100644
--- a/chrome/test/base/view_event_test_base.cc
+++ b/chrome/test/base/view_event_test_base.cc
@@ -62,14 +62,10 @@ const int kMouseMoveDelayMS = 200;
ViewEventTestBase::ViewEventTestBase()
: window_(NULL),
content_view_(NULL),
- ui_thread_(content::BrowserThread::UI, &message_loop_),
- ALLOW_THIS_IN_INITIALIZER_LIST(method_factory_(this)) {
+ ui_thread_(content::BrowserThread::UI, &message_loop_) {
}
void ViewEventTestBase::Done() {
- // Cancel the pending time-out.
- method_factory_.RevokeAll();
-
MessageLoop::current()->Quit();
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698