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

Unified Diff: chrome/test/base/thread_observer_helper.h

Issue 8520032: base::Bind fix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/thread_observer_helper.h
diff --git a/chrome/test/base/thread_observer_helper.h b/chrome/test/base/thread_observer_helper.h
index bbfc40f9e1d29ca269aa45725c7206193ecc75bc..a5e5bf86d7ec9fde2a4a4fd1465851622cb264db 100644
--- a/chrome/test/base/thread_observer_helper.h
+++ b/chrome/test/base/thread_observer_helper.h
@@ -6,6 +6,7 @@
#define CHROME_TEST_BASE_THREAD_OBSERVER_HELPER_H_
#pragma once
+#include "base/bind.h"
#include "base/memory/ref_counted.h"
#include "base/synchronization/waitable_event.h"
#include "content/public/browser/browser_thread.h"
@@ -26,7 +27,7 @@ class ThreadObserverHelper : public base::RefCountedThreadSafe<T, Traits> {
BrowserThread::PostTask(
id_,
FROM_HERE,
- NewRunnableMethod(this, &ThreadObserverHelper::RegisterObserversTask));
+ base::Bind(&ThreadObserverHelper::RegisterObserversTask, this));
done_event_.Wait();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698