Add unit test for GlyphPageTreeNode.

This patch also moves the functionality of GlyphPage::fill() to
SimpleFontData::fillGlyphPage(). This new method is overridden by the
fake SimpleFontData class used in GlyphPageTreeNodeTest.

BUG=none
TEST=blink_platform_unittests

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

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

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

BUG=167341
TBR=skobes@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171826 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't check if SerializedScriptValue's Reader::m_version is less than 0

Don't check if SerializedScriptValue's Reader::m_version is less than 0 as the
variable is unsigned.

R=haraken@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171827 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move trie switch generation into Jinja template

Only change to output is sorting the trie:
currently trie is not sorted so output can vary from build to build.

Currently make_element_lookup_trie.py has complex Python code to generate a
switch statement for a trie.
This moves the code generation into a Jinja template, making generation
rather more transparent.

The key point in refactoring is separating the trie computation logic
from the code generation: compute the trie beforehand, then feed it to the CG.
This lets us make the code generation dumb and put it in Jinja.

R=abarth

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

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