Provide access to user's list of preferred languages
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jan 2012 23:29:27 +0000 (23:29 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jan 2012 23:29:27 +0000 (23:29 +0000)
commit3c679bfe3d718504260aa51ed107f2c23e219ed5
tree241e87fa5619dbb64f8e48f6dc81eed1a99eb73b
parenta1a828f6253043bf5ace24a717f978f568e5e928
Provide access to user's list of preferred languages
https://bugs.webkit.org/show_bug.cgi?id=76138

Reviewed by Timothy Hatcher.

No new tests, tested by fast/harness/user-preferred-language.html.

* platform/mac/Language.mm:
(WebCore::platformUserPreferredLanguages): Don't over-release a the CFStrings returned by
    CFLocaleCopyPreferredLanguages.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@105333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/mac/Language.mm