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

Unified Diff: base/sys_info_chromeos.cc

Issue 467053: Fix test failure: SysInfoTest.GoogleChromeOSVersionNumbersFirst (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years 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 | base/sys_info_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info_chromeos.cc
===================================================================
--- base/sys_info_chromeos.cc (revision 34061)
+++ base/sys_info_chromeos.cc (working copy)
@@ -43,9 +43,7 @@
int32 *major_version,
int32 *minor_version,
int32 *bugfix_version) {
- size_t version_key_index =
- lsb_release.find(kLinuxStandardBaseVersionKey,
- arraysize(kLinuxStandardBaseVersionKey) - 1);
+ size_t version_key_index = lsb_release.find(kLinuxStandardBaseVersionKey);
if (std::string::npos == version_key_index) {
return;
}
« no previous file with comments | « no previous file | base/sys_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698