The non-copying StringImpl juggling in CachedScript is scary and lame.
Created attachment 268004 [details] Patch
Comment on attachment 268004 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=268004&action=review > Source/WebCore/platform/text/TextEncoding.h:75 > + bool isByteBasedEncoding() const { return !isNonByteBasedEncoding(); } Could we just reverse and rename isNonByteBasedEncoding?
Comment on attachment 268004 [details] Patch We could, but I didn't want this patch to get all TextEncoding-heavy. :| Can do separately.
Comment on attachment 268004 [details] Patch Clearing flags on attachment: 268004 Committed r194529: <http://trac.webkit.org/changeset/194529>
All reviewed patches have been landed. Closing bug.