diff options
| author | avi <avi@chromium.org> | 2015-12-25 18:10:43 -0800 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-12-26 02:11:32 +0000 |
| commit | b896c715dd14ec1f7ac800350b40eeb6de2ba868 (patch) | |
| tree | acc471478046a775c3492046a40c2ea84e8ea88a /chrome/browser/process_info_snapshot_mac.cc | |
| parent | f5b61be8a18b07a2a928f10bf1f8f0e8a5358f13 (diff) | |
| download | chromium_src-b896c715dd14ec1f7ac800350b40eeb6de2ba868.zip chromium_src-b896c715dd14ec1f7ac800350b40eeb6de2ba868.tar.gz chromium_src-b896c715dd14ec1f7ac800350b40eeb6de2ba868.tar.bz2 | |
Switch to standard integer types in chrome/browser/, part 3 of 4.
BUG=138542
TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/1548133002
Cr-Commit-Position: refs/heads/master@{#366883}
Diffstat (limited to 'chrome/browser/process_info_snapshot_mac.cc')
| -rw-r--r-- | chrome/browser/process_info_snapshot_mac.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/process_info_snapshot_mac.cc b/chrome/browser/process_info_snapshot_mac.cc index f2a0019..7bfadc8 100644 --- a/chrome/browser/process_info_snapshot_mac.cc +++ b/chrome/browser/process_info_snapshot_mac.cc @@ -4,6 +4,8 @@ #include "chrome/browser/process_info_snapshot.h" +#include <stddef.h> +#include <stdint.h> #include <sys/sysctl.h> #include <sstream> @@ -12,6 +14,7 @@ #include "base/files/file_path.h" #include "base/logging.h" #include "base/mac/mac_util.h" +#include "base/macros.h" #include "base/process/launch.h" #include "base/strings/string_number_conversions.h" #include "base/strings/string_util.h" @@ -139,7 +142,7 @@ static bool GetProcessMemoryInfoUsingPS( for (std::vector<base::ProcessId>::const_iterator it = pid_list.begin(); it != pid_list.end(); ++it) { command_line.AppendArg("-p"); - command_line.AppendArg(base::Int64ToString(static_cast<int64>(*it))); + command_line.AppendArg(base::Int64ToString(static_cast<int64_t>(*it))); } std::string output; |
