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

Unified Diff: chrome/browser/sync/syncable/syncable.cc

Issue 9226012: Checkpoint: android fixes towards compilation of unit_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: miranda alphabetical issue Created 8 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 | « chrome/browser/profiles/profile.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/syncable/syncable.cc
diff --git a/chrome/browser/sync/syncable/syncable.cc b/chrome/browser/sync/syncable/syncable.cc
index ab120575e5b874e906233db3b5d08e0f2e448cfa..dc9193f575974b4de1448964e5d1d4ce4b3e5d18 100644
--- a/chrome/browser/sync/syncable/syncable.cc
+++ b/chrome/browser/sync/syncable/syncable.cc
@@ -1174,7 +1174,7 @@ class FullScanFilter : public IdFilter {
class SomeIdsFilter : public IdFilter {
public:
virtual bool ShouldConsider(const Id& id) const {
- return binary_search(ids_.begin(), ids_.end(), id);
+ return std::binary_search(ids_.begin(), ids_.end(), id);
}
std::vector<Id> ids_;
};
@@ -1215,7 +1215,7 @@ bool Directory::CheckTreeInvariants(syncable::BaseTransaction* trans,
return false;
filter.ids_.push_back(e.Get(ID));
}
- sort(filter.ids_.begin(), filter.ids_.end());
+ std::sort(filter.ids_.begin(), filter.ids_.end());
if (!CheckTreeInvariants(trans, handles, filter))
return false;
}
« no previous file with comments | « chrome/browser/profiles/profile.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698