| Index: chrome/browser/process_info_snapshot_mac.cc
|
| diff --git a/chrome/browser/process_info_snapshot_mac.cc b/chrome/browser/process_info_snapshot_mac.cc
|
| index 98216e025659a384d20afb87ff7368211141af03..10fc77b618bf47568df39ebaa7fe4ec472203f6a 100644
|
| --- a/chrome/browser/process_info_snapshot_mac.cc
|
| +++ b/chrome/browser/process_info_snapshot_mac.cc
|
| @@ -249,7 +249,7 @@ static bool GetProcessMemoryInfoUsingTop(
|
| if (in.fail())
|
| break;
|
|
|
| - if (unit.size() == 0)
|
| + if (unit.empty())
|
| break;
|
|
|
| uint64_t scale;
|
| @@ -346,7 +346,7 @@ bool ProcessInfoSnapshot::Sample(std::vector<base::ProcessId> pid_list) {
|
| Reset();
|
|
|
| // Nothing to do if no PIDs given.
|
| - if (pid_list.size() == 0)
|
| + if (pid_list.empty())
|
| return true;
|
| if (pid_list.size() > kMaxPidListSize) {
|
| // The spec says |pid_list| *must* not have more than this many entries.
|
|
|