Chromium Code Reviews| Index: chrome/installer/util/user_experiment.cc |
| diff --git a/chrome/installer/util/user_experiment.cc b/chrome/installer/util/user_experiment.cc |
| index 68e4eace8a6fd53696d4afc61ae0b50b79d1b572..7140237402536e78b85dd5280c2cdd2078b52699 100644 |
| --- a/chrome/installer/util/user_experiment.cc |
| +++ b/chrome/installer/util/user_experiment.cc |
| @@ -84,7 +84,8 @@ int GetDirectoryWriteTimeInHours(const wchar_t* path) { |
| return -1; |
| FILETIME time; |
| - return ::GetFileTime(file, NULL, NULL, &time) ? FileTimeToHours(time) : -1; |
| + return ::GetFileTime(file.Get(), NULL, NULL, &time) ? |
| + FileTimeToHours(time) : -1; |
|
Lei Zhang
2014/09/24 23:10:10
nit: indent 4 spaces from "return" ?
rvargas (doing something else)
2014/09/24 23:58:46
yeah, I've always hated indenting under a return a
|
| } |
| // Returns the time in hours since the last write to the user data directory. |
| @@ -513,7 +514,7 @@ void InactiveUserToastExperiment(int flavor, |
| break; |
| default: |
| outcome = kToastExpTriesErrorGroup; |
| - }; |
| + } |
| // Write to the |client| key for the last time. |
| SetClient(experiment_group + outcome, true); |