RefCounted::derefBase() should do the decrement from 1 to 0
RefCounted::derefBase() should do the decrement from 1 to 0

Currently derefBase() does not do the decrement from 1 to 0 because an object that has 0 refcount is going to die immediately (there is no need to do the decrement).

However, in the oilpan world, it's possible that an object that has 0 refcount is resurrected, because the object can still be retained through oilpan handles. Thus we need to manage the refcount correctly even when the refcount is going to be 0.

I'm making this change separately from oilpan changes, since this change might regress performance of something. derefBase() is performance-sensitive.

BUG=340522

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

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

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