[webkit-dev] String 4-byte alignment issue

Yong Li yong.li.webkit at gmail.com
Fri Nov 13 11:45:47 PST 2009


Hi,

Please take a look at bug 31475

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

There're 2 ways to fix this:

1. let StringImpl::create(UString...) create new copy if UString::data() is
not aligned to 4 bytes.

2. remove dependencies on 4-byte aligment of String::characters(), probably
just with #ifdef...

Which one is better solution?

-Yong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20091113/17242d84/attachment.html>


More information about the webkit-dev mailing list