[Webkit-unassigned] [Bug 63482] Allow non-main thread text drawing in ICU ports
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 27 14:55:44 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63482
Darin Adler <darin at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #98789|review? |review+
Flag| |
--- Comment #4 from Darin Adler <darin at apple.com> 2011-06-27 14:55:44 PST ---
(From update of attachment 98789)
View in context: https://bugs.webkit.org/attachment.cgi?id=98789&action=review
>> Source/WebCore/platform/ThreadGlobalData.cpp:89
>> + m_lineBreakIteratorPool = new LineBreakIteratorPool();
>
> Normal style is probably to drop the parens. I'll drop them.
I like it better without the parens, yes.
> Source/WebCore/platform/ThreadGlobalData.cpp:107
> + if (m_lineBreakIteratorPool) {
> + delete m_lineBreakIteratorPool;
> + m_lineBreakIteratorPool = 0;
> + }
No need for the if statement. The delete operator already checks for 0.
>> Source/WebCore/platform/ThreadGlobalData.h:79
>> + LineBreakIteratorPool* m_lineBreakIteratorPool;
>
> Can this be an OwnPtr?
I think using an OwnPtr for this would be good.
--
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