Fix compilation of breakpad on Linux.

Fix some copy/paste errors from commit 41440eaa.

BUG=None
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1564293002 .
This commit is contained in:
Sylvain Defresne 2016-01-08 09:34:27 +01:00
parent 728bcdff61
commit 7b0d7a976e

View file

@ -1004,7 +1004,7 @@ class MinidumpWriter {
new(allocator) ProcCpuInfoReader(fd);
const char* field;
while (reader->GetNextField(&field)) {
for (const CpuInfoEntry& entry : cpu_info_table) {
for (const CpuIdEntry& entry : cpu_id_entries) {
if (my_strcmp(entry.field, field) != 0)
continue;
uintptr_t result = 0;
@ -1083,7 +1083,7 @@ class MinidumpWriter {
tag_len = strlen(tag);
value_len = 0;
}
for (const CpuInfoEntry& entry : cpu_features_entries) {
for (const CpuFeaturesEntry& entry : cpu_features_entries) {
if (tag_len == strlen(entry.tag) &&
!memcmp(tag, entry.tag, tag_len)) {
sys_info->cpu.arm_cpu_info.elf_hwcaps |= entry.hwcaps;