WeakNodeMap should have an ASSERT for node in WeakNodeMap::put()
WeakNodeMap should have an ASSERT for node in WeakNodeMap::put()

WeakNodeMap holds trace Ids to corresponding node pointers. Having a null value for the node would be logically incorrect and the ASSERT(!m_nodeToValue.contains(node)); would trigger for the subsequent calls if we allow the NULL values. The callsite should ensure that the values for node pointers are indeed non-NULL.

BUG=390510

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

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

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