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/base/unique_position.cc

Issue 2231753002: components: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more call site Created 4 years, 4 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: components/sync/base/unique_position.cc
diff --git a/components/sync/base/unique_position.cc b/components/sync/base/unique_position.cc
index dc0b310f4d8457917f6c3d169c748bd98706d143..1c8cdf87d8b2da7bafb9e53eac97d4a2685270b0 100644
--- a/components/sync/base/unique_position.cc
+++ b/components/sync/base/unique_position.cc
@@ -66,7 +66,7 @@ UniquePosition UniquePosition::FromProto(const sync_pb::UniquePosition& proto) {
un_gzipped.resize(uncompressed_len);
int result = uncompress(
- reinterpret_cast<Bytef*>(string_as_array(&un_gzipped)),
+ reinterpret_cast<Bytef*>(base::string_as_array(&un_gzipped)),
&uncompressed_len,
reinterpret_cast<const Bytef*>(proto.compressed_value().data()),
proto.compressed_value().size());
« no previous file with comments | « components/storage_monitor/volume_mount_watcher_win.cc ('k') | components/sync/core_impl/protocol_event_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698