Fix memory leak on serializing neutered ArrayBuffer.

If the serialization of an ArrayBufferView's ArrayBuffer fails, unwind
the state stack completely before reporting an error to avoid leaking
a serializer state object.

To accommodate, split out the state stack overflow checking from the
dispatching on value types which was both performed by the main
serialization method. Now handled by

    Serializer::doSerialize()
    Serializer::doSerializeImpl()

respectively, with the former calling upon the latter if the stack
check passes.

R=dslomov@chromium.org
BUG=291240

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161343 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r161333

http://src.chromium.org/viewvc/blink?view=revision&revision=161333

BUG=179332
TBR=sanjoy.pal@samsung.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161344 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove ThreadGlobalData.h

Only included in 3 places and none of them actually need it.

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161345 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove SkAutoSTMalloc windows hack

Now that SkAutoSTMalloc is supported on windows remove the hack from
GlyphPageTreeNodeSkia.

R=pdr@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161346 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move FontFallbackWin to platform/

BUG=297477

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

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