[webkit-reviews] review granted: [Bug 120040] Save three bytes per CStringBuffer object : [Attachment 209506] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 23 13:48:12 PDT 2013


Darin Adler <darin at apple.com> has granted Benjamin Poulain
<benjamin at webkit.org>'s request for review:
Bug 120040: Save three bytes per CStringBuffer object
https://bugs.webkit.org/show_bug.cgi?id=120040

Attachment 209506: Patch
https://bugs.webkit.org/attachment.cgi?id=209506&action=review

------- Additional Comments from Darin Adler <darin at apple.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=209506&action=review


> Source/WTF/wtf/text/CString.h:49
> +    char* mutableData() { return reinterpret_cast<char*>(this + 1); }

Might need to use reinterpret_cast_ptr for the benefit of some ARM-based
platforms.


More information about the webkit-reviews mailing list