DescriptionRemove unecessary malloc seen in http://sina.com.cn (#17)
Content calls down into Blink a bunch of times during loading to
check the document's encoding. Every time we were allocating a
new copy of a constant string. The right fix is to fix TextEncoding
to have fancier static-string technology, but this is the quick-fix
to get this malloc off the profile of http://sina.com.cn.
BUG=261689
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154508
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|