Call convertToLength in CSSToStyleMap instead of having it inlined
Call convertToLength in CSSToStyleMap instead of having it inlined

Trivial cleanup; reduce copy-paste in CSSToStyleMap. Note that the
case where the primitive value isn't an appropriate type shouldn't
occur since we generally assume the parser only allows valid types
through so we change it to an assertion here.

BUG=322365

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

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@162958 bbb929c8-8fbe-4397-9dbb-9b2b20218538

PeterWangIntel/blink-crosswalk,Pluto-tv/blink-crosswalk,jtg-gg/blink,hgl888/blink-crosswalk-efl,nwjs/blink,modulexcite/blink,kurli/blink-crosswalk,jtg-gg/blink,crosswalk-project/blink-crosswalk-efl,smishenk/blink-crosswalk,nwjs/blink,ondra-novak/blink,hgl888/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,jtg-gg/blink,PeterWangIntel/blink-crosswalk,ondra-novak/blink,hgl888/blink-crosswalk-efl,kurli/blink-crosswalk,PeterWangIntel/blink-crosswalk,kurli/blink-crosswalk,XiaosongWei/blink-crosswalk,kurli/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,modulexcite/blink,nwjs/blink,kurli/blink-crosswalk,hgl888/blink-crosswalk-efl,crosswalk-project/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,kurli/blink-crosswalk,modulexcite/blink,nwjs/blink,modulexcite/blink,XiaosongWei/blink-crosswalk,hgl888/blink-crosswalk-efl,nwjs/blink,XiaosongWei/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,nwjs/blink,smishenk/blink-crosswalk,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,smishenk/blink-crosswalk,ondra-novak/blink,hgl888/blink-crosswalk-efl,hgl888/blink-crosswalk-efl,kurli/blink-crosswalk,modulexcite/blink,smishenk/blink-crosswalk,ondra-novak/blink,ondra-novak/blink,ondra-novak/blink,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,Pluto-tv/blink-crosswalk,smishenk/blink-crosswalk,modulexcite/blink,nwjs/blink,hgl888/blink-crosswalk-efl,kurli/blink-crosswalk,smishenk/blink-crosswalk,hgl888/blink-crosswalk-efl,smishenk/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,Pluto-tv/blink-crosswalk,jtg-gg/blink,PeterWangIntel/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,jtg-gg/blink,Pluto-tv/blink-crosswalk,XiaosongWei/blink-crosswalk,modulexcite/blink,kurli/blink-crosswalk,Bysmyyr/blink-crosswalk,Pluto-tv/blink-crosswalk,nwjs/blink,modulexcite/blink,ondra-novak/blink,hgl888/blink-crosswalk-efl,modulexcite/blink,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,XiaosongWei/blink-crosswalk,jtg-gg/blink,jtg-gg/blink,crosswalk-project/blink-crosswalk-efl,Pluto-tv/blink-crosswalk,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,smishenk/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,XiaosongWei/blink-crosswalk,modulexcite/blink,nwjs/blink,smishenk/blink-crosswalk,jtg-gg/blink,smishenk/blink-crosswalk,PeterWangIntel/blink-crosswalk,ondra-novak/blink,Pluto-tv/blink-crosswalk,PeterWangIntel/blink-crosswalk,jtg-gg/blink,jtg-gg/blink,XiaosongWei/blink-crosswalk,kurli/blink-crosswalk,Bysmyyr/blink-crosswalk,Pluto-tv/blink-crosswalk,nwjs/blink,Bysmyyr/blink-crosswalk,ondra-novak/blink