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()); |