[Webkit-unassigned] [Bug 154486] Improvements to Intl code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 21 17:15:40 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=154486

Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #271840|review?                     |review+
              Flags|                            |

--- Comment #9 from Darin Adler <darin at apple.com> ---
Comment on attachment 271840
  --> https://bugs.webkit.org/attachment.cgi?id=271840
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=271840&action=review

>>> Source/JavaScriptCore/runtime/IntlCollator.cpp:329
>>> +    auto collator = std::unique_ptr<UCollator, UCollatorDeleter>(ucol_open(m_locale.utf8().data(), &status));
>> 
>> Use std::make_unique from StdLibExtras.h
> 
> I don't think that works, because ucol_open is not a C++ constructor.

That’s right. Can’t use make_unique here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160222/611a5bdc/attachment.html>


More information about the webkit-unassigned mailing list