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 0e299180fb00d46d6d3778d0bc0aa09c823218d9..7d6e81dbb86439110b3106fffe9f31b7f2c70350 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>(CFPropertyListCreateWithData( |
- NULL, data, kCFPropertyListImmutable, NULL, NULL)); |
+ CFDictionaryRef list = static_cast<CFDictionaryRef> |
+ (CFPropertyListCreateFromXMLData(NULL, data, kCFPropertyListImmutable, |
+ NULL)); |
CFRelease(data); |
if (!list) { |
return; |