[Webkit-unassigned] [Bug 118001] [Qt] REGRESSION(r132916): CFStrings are adopted twice (?)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 25 14:24:32 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=118001
--- Comment #6 from Anders Carlsson <andersca at apple.com> 2013-06-25 14:26:28 PST ---
(In reply to comment #5)
> First adoption in Source/WebCore/platform/text/cf/StringImplCF.cpp:
> RetainPtr<CFStringRef> StringImpl::createCFString()
> {
> ...
> return adoptCF(string);
> }
>
>
> Second ones here:
> WTF::RetainPtr<CFStringRef> homeDir = adoptCF(homeDirectoryPath().createCFString());
> and here:
> WTF::RetainPtr<CFStringRef> path = adoptCF(m_path.createCFString());
adoptCF does not take a RetainPtr, so the code above would not compile.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list