Avoid duplicate null check in ReplaceSelectionCommand::pastLastLeaf()
Avoid duplicate null check in ReplaceSelectionCommand::pastLastLeaf()

Avoid duplicate null check in ReplaceSelectionCommand::pastLastLeaf() by
calling m_lastNodeInserted->lastDescendant() directly instead of
lastLeafInserted(). This also makes it clearer by we are checking that
m_lastNodeInserted is not null as it is now explicitly use right after.
This avoid avoids dereferencing a pointer as we now get a reference
directly.

R=adamk

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

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

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