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

Unified Diff: mojo/shell/shell_application_delegate.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/shell/package_manager/package_manager_impl.cc ('k') | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/shell_application_delegate.cc
diff --git a/mojo/shell/shell_application_delegate.cc b/mojo/shell/shell_application_delegate.cc
index 1dbac46037b18232c54243e677e9009374415fee..6ee2c3ea68132e9c1d271008763f87b35db95ad5 100644
--- a/mojo/shell/shell_application_delegate.cc
+++ b/mojo/shell/shell_application_delegate.cc
@@ -39,7 +39,7 @@ void ShellApplicationDelegate::CreateInstanceForHandle(
const String& url,
CapabilityFilterPtr filter,
InterfaceRequest<mojom::PIDReceiver> pid_receiver) {
- manager_->CreateInstanceForHandle(std::move(channel), GURL(url),
+ manager_->CreateInstanceForHandle(std::move(channel), GURL(url.get()),
std::move(filter), std::move(pid_receiver));
}
« no previous file with comments | « mojo/shell/package_manager/package_manager_impl.cc ('k') | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698