Port some rendering micro-optimizations from WebKit.

This ports http://trac.webkit.org/changeset/152212 and
http://trac.webkit.org/changeset/152213 into Blink.  These are trivially
correct and probably backed by profiling data.

This also deletes unused method updateDrawsContent().

NOTRY=true
BUG=None

Review URL: https://chromiumcodereview.appspot.com/18763007

git-svn-id: svn://svn.chromium.org/blink/trunk@154150 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix name in StringBuilder

We merged a slightly out-of-date version of
http://trac.webkit.org/changeset/152306 that missed a last-minute name change.

R=esprehn
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/19116002

git-svn-id: svn://svn.chromium.org/blink/trunk@154151 bbb929c8-8fbe-4397-9dbb-9b2b20218538
wordBreakIterator shouldn't require bloatedCharacters

This CL teaches wordBreakIterator to use ICU's UText data structure to present
the source text for wordBreakIterator in Latin-1. That lets us avoid calling
bloatedCharacters when we need a wordBreakIterator.

R=eseidel@chromium.org
BUG=254708

Review URL: https://codereview.chromium.org/18967009

git-svn-id: svn://svn.chromium.org/blink/trunk@154152 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Added test for CustomEvent init SerializedScriptValue assert. This is a simple test of the initCustomEvent internal API to make sure that it can be called, and that after initialization, the detail getter can be successfully used.

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/18965006

git-svn-id: svn://svn.chromium.org/blink/trunk@154153 bbb929c8-8fbe-4397-9dbb-9b2b20218538