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

Unified Diff: content/browser/tracing/background_tracing_manager_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
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | device/serial/data_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tracing/background_tracing_manager_browsertest.cc
diff --git a/content/browser/tracing/background_tracing_manager_browsertest.cc b/content/browser/tracing/background_tracing_manager_browsertest.cc
index ecb55f259fdd9318472e7712c04dc62609c34849..f2cfb53f73745a59b26e2d229cc6b5b5d0ed0d29 100644
--- a/content/browser/tracing/background_tracing_manager_browsertest.cc
+++ b/content/browser/tracing/background_tracing_manager_browsertest.cc
@@ -65,10 +65,8 @@ class BackgroundTracingManagerUploadConfigWrapper {
EXPECT_EQ(Z_STREAM_END, result);
last_file_contents_.assign(output_str.data(), bytes_written);
- BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- base::Bind(done_callback));
- BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- base::Bind(callback_));
+ BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, done_callback);
+ BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, callback_);
}
bool TraceHasMatchingString(const char* str) {
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | device/serial/data_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698