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

Unified Diff: content/browser/frame_host/frame_mojo_shell.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
Index: content/browser/frame_host/frame_mojo_shell.cc
diff --git a/content/browser/frame_host/frame_mojo_shell.cc b/content/browser/frame_host/frame_mojo_shell.cc
index ece035648f466104412a3400994203788495a840..edbc79741652925587669d88ee7014614ba5fc59 100644
--- a/content/browser/frame_host/frame_mojo_shell.cc
+++ b/content/browser/frame_host/frame_mojo_shell.cc
@@ -62,9 +62,9 @@ void FrameMojoShell::ConnectToApplication(
if (!filter.is_null())
capability_filter = filter->filter.To<mojo::shell::CapabilityFilter>();
MojoShellContext::ConnectToApplication(
- GURL(application_url->url), frame_host_->GetSiteInstance()->GetSiteURL(),
- std::move(services), std::move(frame_services), capability_filter,
- callback);
+ GURL(application_url->url.get()),
+ frame_host_->GetSiteInstance()->GetSiteURL(), std::move(services),
+ std::move(frame_services), capability_filter, callback);
}
void FrameMojoShell::QuitApplication() {
« no previous file with comments | « components/web_view/pending_web_view_load.cc ('k') | content/browser/navigator_connect/service_port_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698