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

Unified Diff: sync/internal_api/write_node.cc

Issue 10578017: Test GURL::spec() usage changes with DEPS rolled to the new version. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 8 years, 6 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 | « net/url_request/view_cache_helper.cc ('k') | webkit/database/database_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/write_node.cc
diff --git a/sync/internal_api/write_node.cc b/sync/internal_api/write_node.cc
index e281fcd02ee57d4062ba91b073946b237e2a677c..a1454c609f2b38bd476169dd35ce2457e7d060bd 100644
--- a/sync/internal_api/write_node.cc
+++ b/sync/internal_api/write_node.cc
@@ -107,7 +107,7 @@ void WriteNode::SetTitle(const std::wstring& title) {
void WriteNode::SetURL(const GURL& url) {
sync_pb::BookmarkSpecifics new_value = GetBookmarkSpecifics();
- new_value.set_url(url.spec());
+ new_value.set_url(url.possibly_invalid_spec());
SetBookmarkSpecifics(new_value);
}
« no previous file with comments | « net/url_request/view_cache_helper.cc ('k') | webkit/database/database_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698