InspectorResourceAgent::delayedRemoveReplayXHR should ref before deref-ing XHR
InspectorResourceAgent::delayedRemoveReplayXHR should ref before deref-ing XHR

delayedRemoveReplayXHR derefs the target XHR before adding its ref.
If the XHR ref count is 1, this may drop reference of the XHR and will ref() the dead XHR.

This CL avoids the issue by swapping its operation order.

TBR=haraken, tyoshino, vsevik
TEST=http/tests/inspector/network/network-xhr-replay.html will not crash
BUG=None

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

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

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