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

Unified Diff: components/sync/engine_impl/sync_manager_impl.cc

Issue 2481923002: [WIP] make GURL::path() return a StringPiece (Closed)
Patch Set: thanks asan Created 4 years, 1 month 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: components/sync/engine_impl/sync_manager_impl.cc
diff --git a/components/sync/engine_impl/sync_manager_impl.cc b/components/sync/engine_impl/sync_manager_impl.cc
index 06720a0318cd330c99eae2c460fe70087c2c9989..7b2389e99eacb3e76fcec64e4c16fc1b08a42e67 100644
--- a/components/sync/engine_impl/sync_manager_impl.cc
+++ b/components/sync/engine_impl/sync_manager_impl.cc
@@ -296,7 +296,7 @@ void SyncManagerImpl::Init(InitArgs* args) {
#endif // defined(OS_WIN)
} else {
connection_manager_ = base::MakeUnique<SyncServerConnectionManager>(
- args->service_url.host() + args->service_url.path(),
+ args->service_url.host() + args->service_url.path().as_string(),
args->service_url.EffectiveIntPort(),
args->service_url.SchemeIsCryptographic(), args->post_factory.release(),
args->cancelation_signal);

Powered by Google App Engine
This is Rietveld 408576698