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

Unified Diff: mojo/shell/application_instance.cc

Issue 1568073002: Reduce string copies in GURL creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « mojo/services/network/url_loader_impl.cc ('k') | mojo/shell/connect_to_application_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/application_instance.cc
diff --git a/mojo/shell/application_instance.cc b/mojo/shell/application_instance.cc
index 0d709afd6832291972e346334851674f96fbc6b9..8c3003dd60ea0f97dbfb77668d46abae05334213 100644
--- a/mojo/shell/application_instance.cc
+++ b/mojo/shell/application_instance.cc
@@ -101,7 +101,7 @@ void ApplicationInstance::ConnectToApplication(
scoped_ptr<ConnectToApplicationParams> params(
new ConnectToApplicationParams);
params->SetSource(this);
- GURL app_url(app_request->url);
+ GURL app_url(app_request->url.get());
params->SetTargetURLRequest(
std::move(app_request),
Identity(app_url, std::string(), capability_filter));
« no previous file with comments | « mojo/services/network/url_loader_impl.cc ('k') | mojo/shell/connect_to_application_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698