Index: content/public/browser/content_browser_client.cc |
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc |
index f9f587be5b12f72a55688107add330dbba06c116..f03f5ff9706e1993d0b15ef02554ec412dcae9fa 100644 |
--- a/content/public/browser/content_browser_client.cc |
+++ b/content/public/browser/content_browser_client.cc |
@@ -4,6 +4,8 @@ |
#include "content/public/browser/content_browser_client.h" |
+#include <utility> |
+ |
#include "base/files/file_path.h" |
#include "base/guid.h" |
#include "base/logging.h" |
@@ -29,8 +31,8 @@ BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
void ContentBrowserClient::PostAfterStartupTask( |
const tracked_objects::Location& from_here, |
const scoped_refptr<base::TaskRunner>& task_runner, |
- const base::Closure& task) { |
- task_runner->PostTask(from_here, task); |
+ base::Closure task) { |
+ task_runner->PostTask(from_here, std::move(task)); |
} |
bool ContentBrowserClient::IsBrowserStartupComplete() { |