commit | e4eee2164186be39df2673e2c472c58d96981a3c | [log] [tgz] |
---|---|---|
author | benjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Wed May 15 08:28:43 2013 |
committer | benjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Wed May 15 08:28:43 2013 |
tree | d9d6e4c80a8b43c7cbb71977ce06ab06b34ce15e | |
parent | 784af807f3739cb80dc0d42358ec6517893fffe3 [diff] |
Do not bloat HTMLTokenizer with a giant inline InputStreamPreprocessor::peek https://bugs.webkit.org/show_bug.cgi?id=116066 Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-05-15 Reviewed by Ryosuke Niwa. Merge https://chromium.googlesource.com/chromium/blink/+/45e0337b2f2db535ab08365f6e763a5015e4d990. On x86_64, this removes 40kb from the binary. On my machine it is completely neutral on performance. * html/parser/InputStreamPreprocessor.h: (WebCore::InputStreamPreprocessor::peek): (InputStreamPreprocessor): (WebCore::InputStreamPreprocessor::advance): (WebCore::InputStreamPreprocessor::skipNextNewLine): (WebCore::InputStreamPreprocessor::reset): (WebCore::InputStreamPreprocessor::processNextInputCharacter): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150105 268f45cc-cd09-0410-ab3c-d52691b4dbfc