| Index: mojo/shell/connect_params.cc
|
| diff --git a/mojo/shell/connect_params.cc b/mojo/shell/connect_params.cc
|
| index 92d1a877bf03ec7970f320c8bcd43e4a866a3eea..ec4e7225d72461417cc8e25948319068079b1910 100644
|
| --- a/mojo/shell/connect_params.cc
|
| +++ b/mojo/shell/connect_params.cc
|
| @@ -11,21 +11,13 @@
|
| namespace mojo {
|
| namespace shell {
|
|
|
| - ConnectParams::ConnectParams() {}
|
| +ConnectParams::ConnectParams() {}
|
|
|
| - ConnectParams::~ConnectParams() {}
|
| -
|
| - void ConnectParams::SetSource(ApplicationInstance* source) {
|
| - if (!source) {
|
| - source_ = Identity();
|
| - return;
|
| - }
|
| -
|
| - source_ = source->identity();
|
| -}
|
| +ConnectParams::~ConnectParams() {}
|
|
|
| void ConnectParams::SetTargetURL(const GURL& target_url) {
|
| - target_ = Identity(target_url, target_.qualifier(), target_.filter());
|
| + target_ = Identity(target_url, target_.qualifier(),
|
| + mojom::Shell::kUserInherit, target_.filter());
|
| }
|
|
|
| } // namespace shell
|
|
|