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

Unified Diff: chrome/browser/background/background_mode_manager.cc

Issue 8400032: Remove references to NewRunnableFunction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 | « chrome/browser/background/background_contents_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/background/background_mode_manager.cc
diff --git a/chrome/browser/background/background_mode_manager.cc b/chrome/browser/background/background_mode_manager.cc
index f69962a89c126d6bbf1d27322287178dafff4433..93f534746f659c53bda0de290cef251971b9d4f3 100644
--- a/chrome/browser/background/background_mode_manager.cc
+++ b/chrome/browser/background/background_mode_manager.cc
@@ -5,6 +5,7 @@
#include <string>
#include "base/base_paths.h"
+#include "base/bind.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "base/utf_string_conversions.h"
@@ -426,7 +427,7 @@ void BackgroundModeManager::EndKeepAliveForStartup() {
// keep-alive (which can shutdown Chrome) before the message loop has
// started.
MessageLoop::current()->PostTask(
- FROM_HERE, NewRunnableFunction(BrowserList::EndKeepAlive));
+ FROM_HERE, base::Bind(&BrowserList::EndKeepAlive));
}
}
« no previous file with comments | « chrome/browser/background/background_contents_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698