summaryrefslogtreecommitdiffstats
path: root/mojo/runner
diff options
context:
space:
mode:
authorben <ben@chromium.org>2015-11-20 15:49:02 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-20 23:50:00 +0000
commita5404b52abc4d9008c0a5e48f7cb9488895462f9 (patch)
treeef918922aa163f79349a5dc228729f93ded89ebf /mojo/runner
parentbe36e8fa623c67c4d46c6be7387f40aad0b7cf0a (diff)
downloadchromium_src-a5404b52abc4d9008c0a5e48f7cb9488895462f9.zip
chromium_src-a5404b52abc4d9008c0a5e48f7cb9488895462f9.tar.gz
chromium_src-a5404b52abc4d9008c0a5e48f7cb9488895462f9.tar.bz2
Convert ConnectToApplication to take a params class
R=sky@chromium.org BUG=none Review URL: https://codereview.chromium.org/1455833005 Cr-Commit-Position: refs/heads/master@{#360954}
Diffstat (limited to 'mojo/runner')
-rw-r--r--mojo/runner/child/native_apptest.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/mojo/runner/child/native_apptest.cc b/mojo/runner/child/native_apptest.cc
index 7bb7780..cc47edb 100644
--- a/mojo/runner/child/native_apptest.cc
+++ b/mojo/runner/child/native_apptest.cc
@@ -22,9 +22,7 @@ using NativeAppTest = mojo::test::ApplicationTestBase;
TEST_F(NativeAppTest, Connect) {
test::TestNativeServicePtr native_service;
application_impl()->ConnectToService(
- mojo::URLRequest::From(
- std::string("exe:mojo_runner_child_apptest_native_target")),
- &native_service);
+ "exe:mojo_runner_child_apptest_native_target", &native_service);
bool result = false;
native_service->Invert(