aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSylvain Defresne <sdefresne@chromium.org>2016-02-08 17:38:33 +0100
committerSylvain Defresne <sdefresne@chromium.org>2016-02-08 17:38:33 +0100
commitf4012f5cd9a8da0c5ff3587bed7a86127a1bedd0 (patch)
treec77d3bf3c69a5bae943065a0a2c986b852d78fb3 /src
parent[mips64] Support for mips n64 (diff)
downloadbreakpad-f4012f5cd9a8da0c5ff3587bed7a86127a1bedd0.tar.xz
Fix usage of deprecated function CFPropertyListCreateFromXMLData.
The function CFPropertyListCreateFromXMLData is deprecated in favor of the function CFPropertyListCreateWithData that is available since the 10.6 OS X SDK and 4.0 iOS SDK. BUG=https://bugs.chromium.org/p/google-breakpad/issues/detail?id=675 BUG=569158 R=mark@chromium.org Review URL: https://codereview.chromium.org/1678063002 .
Diffstat (limited to 'src')
-rw-r--r--src/client/mac/handler/minidump_generator.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/mac/handler/minidump_generator.cc b/src/client/mac/handler/minidump_generator.cc
index 53406567..48cd2e99 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;