[Webkit-unassigned] [Bug 49714] Yensign hack should work with Shift_JIS encoding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 19 00:11:23 PST 2010


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





--- Comment #13 from Kent Tamura <tkent at chromium.org>  2010-11-19 00:11:23 PST ---
(In reply to comment #12)
> >> WebCore/platform/text/TextEncoding.cpp:204
> >> +    DEFINE_STATIC_LOCAL(HashSet<const char*>, set, ());
> > 
> > Can this code be run from a secondary thread?
> 
> This code is not MT-safe.  Is TextEncoding class used by multiple threads?
> TextEncoding::isJapanese() has the same issue.

If the main thread always creates a TextEncoding instance and calls TextEncoding::isJapanese() before a secondary thread is created, we have no thread-safety issue.

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