[Webkit-unassigned] [Bug 100225] [EFL][WK2] Add APIs to get/set the default text encoding name

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 8 18:04:51 PST 2013


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


Benjamin Poulain <benjamin at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #180964|review?                     |review-
               Flag|                            |




--- Comment #12 from Benjamin Poulain <benjamin at webkit.org>  2013-01-08 18:06:44 PST ---
(From update of attachment 180964)
View in context: https://bugs.webkit.org/attachment.cgi?id=180964&action=review

>> Source/WebKit2/UIProcess/API/efl/ewk_settings.cpp:62
>> +    m_defaultTextEncoding = defaultTextEncoding.utf8().data();

This is incorrect. The char buffer is invalid pas that line.
You need to hold on the CString if you want to keep a character buffer alive.

-- 
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