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

Unified Diff: content/browser/renderer_host/render_process_host_browsertest.cc

Issue 2062333002: mojo::Callback -> base::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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: content/browser/renderer_host/render_process_host_browsertest.cc
diff --git a/content/browser/renderer_host/render_process_host_browsertest.cc b/content/browser/renderer_host/render_process_host_browsertest.cc
index b6b7dc45b1063a08f73b660b3423c8cafddd2190..de1ae1e74a90f38b5919fdfde58cefc7b3156f48 100644
--- a/content/browser/renderer_host/render_process_host_browsertest.cc
+++ b/content/browser/renderer_host/render_process_host_browsertest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/bind.h"
#include "base/command_line.h"
#include "base/run_loop.h"
#include "build/build_config.h"
@@ -227,7 +228,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, KillProcessOnBadMojoMessage) {
set_process_exit_callback(run_loop.QuitClosure());
// Should reply with a bad message and cause process death.
- service->DoSomething([]{});
+ service->DoSomething(base::Bind(&base::DoNothing));
run_loop.Run();
« no previous file with comments | « content/browser/presentation/presentation_service_impl.cc ('k') | content/child/background_sync/background_sync_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698