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

Unified Diff: base/version.cc

Issue 17351015: Small comment correction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/version.cc
diff --git a/base/version.cc b/base/version.cc
index 79693f716460268af4af4dd69c3492d43872348b..70d35c192c2c122208e42e14b123cf113bc420d0 100644
--- a/base/version.cc
+++ b/base/version.cc
@@ -50,8 +50,8 @@ bool ParseVersionNumbers(const std::string& version_str,
}
// Compares version components in |components1| with components in
-// |components2|. Returns -1, 0 or 1 if |components1| is greater than, equal to,
-// or less than |components2|, respectively.
+// |components2|. Returns -1, 0 or 1 if |components1| is less than, equal to,
+// or greater than |components2|, respectively.
int CompareVersionComponents(const std::vector<uint16>& components1,
const std::vector<uint16>& components2) {
const size_t count = std::min(components1.size(), components2.size());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698