Fixed crash when StringView is created with a length and an offset
Fixed crash when StringView is created with a length and an offset

BUG=

When StringView is created with a length and an offset, the passed impl
StringImpl is used to check that the length doesn't surpass the StringImpl's
length.
The passed impl variable is a PassRefPtr, that is assigned earlier to m_impl.
Therefore, by the time timpl->length() was called, impl was often already deleted.
That resulted in a crash when creating a StringView that way.

I fixed it by changing the impl->length() call to m_impl->length().

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

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

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