DescriptionFix a compilation error with 10.11 SDK.
TASK_VM_INFO_REV1_COUNT is defined in the 10.12 SDK, but has a different name in
the 10.11 SDK (TASK_VM_INFO_COUNT). Instead of using it, just use
sizeof(ChromeTaskVMInfo) / sizeof(natural_t), which works for all SDK versions.
BUG=713854
Review-Url: https://codereview.chromium.org/2843463003
Cr-Commit-Position: refs/heads/master@{#466689}
Committed: https://chromium.googlesource.com/chromium/src/+/3858a3320d4c95db2662b8e1b6e34c3bda979135
Patch Set 1 #
Messages
Total messages: 11 (7 generated)
|