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 534065674e07670c939fd5746d3c8c7f987f88ef..48cd2e99b666a249913efe5c00c6708ac1758337 100644 |
--- a/src/client/mac/handler/minidump_generator.cc |
+++ b/src/client/mac/handler/minidump_generator.cc |
@@ -167,9 +167,9 @@ void MinidumpGenerator::GatherSystemInformation() { |
if (!data) { |
return; |
} |
- CFDictionaryRef list = static_cast<CFDictionaryRef> |
- (CFPropertyListCreateFromXMLData(NULL, data, kCFPropertyListImmutable, |
- NULL)); |
+ CFDictionaryRef list = |
+ static_cast<CFDictionaryRef>(CFPropertyListCreateWithData( |
+ NULL, data, kCFPropertyListImmutable, NULL, NULL)); |
CFRelease(data); |
if (!list) { |
return; |