Chromium Code Reviews| Index: src/client/mac/handler/minidump_generator.cc |
| diff --git a/src/client/mac/handler/minidump_generator.cc b/src/client/mac/handler/minidump_generator.cc |
| index 7d6e81dbb86439110b3106fffe9f31b7f2c70350..0e299180fb00d46d6d3778d0bc0aa09c823218d9 100644 |
| --- a/src/client/mac/handler/minidump_generator.cc |
| +++ b/src/client/mac/handler/minidump_generator.cc |
| @@ -154,9 +154,9 @@ void MinidumpGenerator::GatherSystemInformation() { |
| if (!data) { |
| return; |
| } |
| - CFDictionaryRef list = static_cast<CFDictionaryRef> |
| - (CFPropertyListCreateFromXMLData(NULL, data, kCFPropertyListImmutable, |
| - NULL)); |
| + CFDictionaryRef list = |
| + static_cast<CFDictionaryRef>(CFPropertyListCreateWithData( |
|
Mark Mentovai
2016/01/07 17:19:15
OS X 10.6 and iOS 4. OK.
|
| + NULL, data, kCFPropertyListImmutable, NULL, NULL)); |
| CFRelease(data); |
| if (!list) { |
| return; |