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

Unified Diff: chrome/test/base/mojo_test_connector.cc

Issue 2738853002: Connections now take a ConnectionParams instead of a pipe handle. (Closed)
Patch Set: Fix Win compile Created 3 years, 9 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/test/base/mojo_test_connector.cc
diff --git a/chrome/test/base/mojo_test_connector.cc b/chrome/test/base/mojo_test_connector.cc
index 11260effefbb5bbbbcbb79f50cb123b191c4d382..9784df5435e618434b9a589b8a95938adf0f991a 100644
--- a/chrome/test/base/mojo_test_connector.cc
+++ b/chrome/test/base/mojo_test_connector.cc
@@ -87,7 +87,9 @@ class MojoTestState : public content::TestState {
void ChildProcessLaunched(base::ProcessHandle handle,
base::ProcessId pid) override {
platform_channel_->ChildProcessLaunched();
- process_connection_.Connect(handle, platform_channel_->PassServerHandle());
+ process_connection_.Connect(
+ handle,
+ mojo::edk::ConnectionParam(platform_channel_->PassServerHandle()));
main_task_runner_->PostTask(
FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698