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

Unified Diff: content/gpu/gpu_watchdog_thread.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 | « content/browser/worker_host/message_port_service.h ('k') | content/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_watchdog_thread.cc
diff --git a/content/gpu/gpu_watchdog_thread.cc b/content/gpu/gpu_watchdog_thread.cc
index 86cd112242450ae4c2c50797ed6e7a71566619a2..dd7e075dab78c5cc9c1a1f4f5e85f30f4f93adac 100644
--- a/content/gpu/gpu_watchdog_thread.cc
+++ b/content/gpu/gpu_watchdog_thread.cc
@@ -9,6 +9,7 @@
#include "content/gpu/gpu_watchdog_thread.h"
#include "base/bind.h"
+#include "base/bind_helpers.h"
#include "base/compiler_specific.h"
#include "base/process_util.h"
#include "base/process.h"
@@ -17,10 +18,7 @@
namespace {
const int64 kCheckPeriod = 2000;
-
-void DoNothing() {
-}
-}
+} // namespace
GpuWatchdogThread::GpuWatchdogThread(int timeout)
: base::Thread("Watchdog"),
@@ -179,7 +177,7 @@ void GpuWatchdogThread::OnCheck() {
// also wake up the observer. This simply ensures there is at least one.
watched_message_loop_->PostTask(
FROM_HERE,
- base::Bind(&DoNothing));
+ base::Bind(&base::DoNothing));
// Post a task to the watchdog thread to exit if the monitored thread does
// not respond in time.
« no previous file with comments | « content/browser/worker_host/message_port_service.h ('k') | content/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698