diff options
Diffstat (limited to 'mojo/shell/connect_params.cc')
-rw-r--r-- | mojo/shell/connect_params.cc | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/mojo/shell/connect_params.cc b/mojo/shell/connect_params.cc index 92d1a87..ec4e722 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 |