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

Unified Diff: chrome/browser/memory_details.cc

Issue 2828663002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/{i,l,m,n,p,r}* (Closed)
Patch Set: Created 3 years, 8 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/memory/tab_manager.cc ('k') | chrome/browser/memory_details_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory_details.cc
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
index 0153e1af96a4dc403469f9a65c98f5b130df0874..2c93613373498150ccaefa8fd4031f6f175e39a2 100644
--- a/chrome/browser/memory_details.cc
+++ b/chrome/browser/memory_details.cc
@@ -146,7 +146,7 @@ void MemoryDetails::StartFetch() {
// However, plugin process information is only available from the IO thread.
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
- base::Bind(&MemoryDetails::CollectChildInfoOnIOThread, this));
+ base::BindOnce(&MemoryDetails::CollectChildInfoOnIOThread, this));
}
MemoryDetails::~MemoryDetails() {}
@@ -215,7 +215,7 @@ void MemoryDetails::CollectChildInfoOnIOThread() {
// Now go do expensive memory lookups on the blocking pool.
BrowserThread::GetBlockingPool()->PostWorkerTaskWithShutdownBehavior(
FROM_HERE,
- base::Bind(&MemoryDetails::CollectProcessData, this, child_info),
+ base::BindOnce(&MemoryDetails::CollectProcessData, this, child_info),
base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN);
}
« no previous file with comments | « chrome/browser/memory/tab_manager.cc ('k') | chrome/browser/memory_details_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698