summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_thread_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/browser_thread_unittest.cc')
-rw-r--r--content/browser/browser_thread_unittest.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/content/browser/browser_thread_unittest.cc b/content/browser/browser_thread_unittest.cc
index 458f872..6bb8e5a 100644
--- a/content/browser/browser_thread_unittest.cc
+++ b/content/browser/browser_thread_unittest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/bind.h"
+#include "base/bind_helpers.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
#include "base/message_loop_proxy.h"
@@ -38,9 +39,6 @@ class BrowserThreadTest : public testing::Test {
message_loop->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
- static void DoNothing() {
- }
-
class DeletedOnFile
: public base::RefCountedThreadSafe<
DeletedOnFile, BrowserThread::DeleteOnFileThread> {
@@ -119,7 +117,7 @@ TEST_F(BrowserThreadTest, PostTaskAndReply) {
ASSERT_TRUE(BrowserThread::PostTaskAndReply(
BrowserThread::FILE,
FROM_HERE,
- base::Bind(&BrowserThreadTest::DoNothing),
+ base::Bind(&base::DoNothing),
base::Bind(&MessageLoop::Quit,
base::Unretained(MessageLoop::current()->current()))));
MessageLoop::current()->Run();