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

Unified Diff: chrome/browser/tracing/chrome_tracing_delegate_browsertest.cc

Issue 2352853002: Disallow redundant Bind calls. (Closed)
Patch Set: static_assert message tweak Created 4 years, 3 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
Index: chrome/browser/tracing/chrome_tracing_delegate_browsertest.cc
diff --git a/chrome/browser/tracing/chrome_tracing_delegate_browsertest.cc b/chrome/browser/tracing/chrome_tracing_delegate_browsertest.cc
index e15f4237abd5dce8e2f7daf478846eeb3f637acf..7685d213e3aa655556889267141ebcfc12e7ca0d 100644
--- a/chrome/browser/tracing/chrome_tracing_delegate_browsertest.cc
+++ b/chrome/browser/tracing/chrome_tracing_delegate_browsertest.cc
@@ -102,9 +102,9 @@ class ChromeTracingDelegateBrowserTest : public InProcessBrowserTest {
receive_count_ += 1;
content::BrowserThread::PostTask(content::BrowserThread::UI, FROM_HERE,
- base::Bind(done_callback));
+ done_callback);
content::BrowserThread::PostTask(content::BrowserThread::UI, FROM_HERE,
- base::Bind(on_upload_callback_));
+ on_upload_callback_);
}
void OnStartedFinalizing(bool success) {
@@ -112,9 +112,8 @@ class ChromeTracingDelegateBrowserTest : public InProcessBrowserTest {
last_on_started_finalizing_success_ = success;
if (!on_started_finalization_callback_.is_null()) {
- content::BrowserThread::PostTask(
- content::BrowserThread::UI, FROM_HERE,
- base::Bind(on_started_finalization_callback_));
+ content::BrowserThread::PostTask(content::BrowserThread::UI, FROM_HERE,
+ on_started_finalization_callback_);
}
}
« no previous file with comments | « chrome/browser/sync_file_system/sync_file_system_service_unittest.cc ('k') | chromecast/base/bind_to_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698