Index: mojo/runner/context.cc |
diff --git a/mojo/runner/context.cc b/mojo/runner/context.cc |
index 20babc9c188e0e3953c8d9b1cfb665a53b07a581..52e7946c97bd6e060d9e96896b6004b83b436e8f 100644 |
--- a/mojo/runner/context.cc |
+++ b/mojo/runner/context.cc |
@@ -315,8 +315,8 @@ bool Context::Init() { |
mojo::URLRequestPtr request(mojo::URLRequest::New()); |
request->url = mojo::String::From("mojo:tracing"); |
application_manager_.ConnectToApplication( |
- nullptr, request.Pass(), std::string(), GURL(), |
- GetProxy(&service_provider_ptr), tracing_service_provider_ptr.Pass(), |
+ nullptr, request.Pass(), std::string(), GetProxy(&service_provider_ptr), |
+ tracing_service_provider_ptr.Pass(), |
shell::GetPermissiveCapabilityFilter(), base::Closure(), |
shell::EmptyConnectCallback()); |
@@ -383,7 +383,7 @@ void Context::Run(const GURL& url) { |
mojo::URLRequestPtr request(mojo::URLRequest::New()); |
request->url = mojo::String::From(url.spec()); |
application_manager_.ConnectToApplication( |
- nullptr, request.Pass(), std::string(), GURL(), GetProxy(&services), |
+ nullptr, request.Pass(), std::string(), GetProxy(&services), |
exposed_services.Pass(), shell::GetPermissiveCapabilityFilter(), |
base::Bind(&Context::OnApplicationEnd, base::Unretained(this), url), |
shell::EmptyConnectCallback()); |