(repair leak) Protect instance after commiting to use network
(repair leak) Protect instance after commiting to use network

The code was incorrectly protecting an instance of Preconnect
before deciding it would actually perform the async network
calls, and need the instance to stay alive for a callback.
The leak was caused when we exited the function, did not
make the asnyc call, but still incref'ed the instance
expecting a callback to come and decref it.

BUG=51133
r=wtc
Review URL: http://codereview.chromium.org/3086023

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@55435 0039d316-1c4b-4281-b951-d872f2087c98

anirudhSK/chromium,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,ondra-novak/chromium.src,TheTypoMaster/chromium-crosswalk,mogoweb/chromium-crosswalk,junmin-zhu/chromium-rivertrail,crosswalk-project/chromium-crosswalk-efl,nacl-webkit/chrome_deps,chuan9/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,dushu1203/chromium.src,ondra-novak/chromium.src,bright-sparks/chromium-spacewalk,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,jaruba/chromium.src,hujiajie/pa-chromium,rogerwang/chromium,ChromiumWebApps/chromium,timopulkkinen/BubbleFish,Jonekee/chromium.src,fujunwei/chromium-crosswalk,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,nacl-webkit/chrome_deps,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk,anirudhSK/chromium,crosswalk-project/chromium-crosswalk-efl,robclark/chromium,markYoungH/chromium.src,Pluto-tv/chromium-crosswalk,zcbenz/cefode-chromium,mogoweb/chromium-crosswalk,mogoweb/chromium-crosswalk,ChromiumWebApps/chromium,markYoungH/chromium.src,Jonekee/chromium.src,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk,Pluto-tv/chromium-crosswalk,anirudhSK/chromium,robclark/chromium,TheTypoMaster/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Chilledheart/chromium,littlstar/chromium.src,M4sse/chromium.src,axinging/chromium-crosswalk,hujiajie/pa-chromium,mohamed--abdel-maksoud/chromium.src,markYoungH/chromium.src,dednal/chromium.src,axinging/chromium-crosswalk,ondra-novak/chromium.src,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,zcbenz/cefode-chromium,littlstar/chromium.src,ltilve/chromium,robclark/chromium,hujiajie/pa-chromium,chuan9/chromium-crosswalk,rogerwang/chromium,dednal/chromium.src,littlstar/chromium.src,mogoweb/chromium-crosswalk,nacl-webkit/chrome_deps,hujiajie/pa-chromium,anirudhSK/chromium,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,timopulkkinen/BubbleFish,rogerwang/chromium,krieger-od/nwjs_chromium.src,PeterWangIntel/chromium-crosswalk,patrickm/chromium.src,PeterWangIntel/chromium-crosswalk,patrickm/chromium.src,patrickm/chromium.src,jaruba/chromium.src,chuan9/chromium-crosswalk,Just-D/chromium-1,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,junmin-zhu/chromium-rivertrail,anirudhSK/chromium,keishi/chromium,PeterWangIntel/chromium-crosswalk,hujiajie/pa-chromium,patrickm/chromium.src,Jonekee/chromium.src,Jonekee/chromium.src,Just-D/chromium-1,bright-sparks/chromium-spacewalk,chuan9/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,keishi/chromium,ondra-novak/chromium.src,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,dednal/chromium.src,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,chuan9/chromium-crosswalk,keishi/chromium,zcbenz/cefode-chromium,krieger-od/nwjs_chromium.src,zcbenz/cefode-chromium,ltilve/chromium,nacl-webkit/chrome_deps,TheTypoMaster/chromium-crosswalk,Just-D/chromium-1,markYoungH/chromium.src,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,zcbenz/cefode-chromium,rogerwang/chromium,dednal/chromium.src,junmin-zhu/chromium-rivertrail,patrickm/chromium.src,crosswalk-project/chromium-crosswalk-efl,timopulkkinen/BubbleFish,dushu1203/chromium.src,robclark/chromium,ondra-novak/chromium.src,nacl-webkit/chrome_deps,junmin-zhu/chromium-rivertrail,markYoungH/chromium.src,Jonekee/chromium.src,patrickm/chromium.src,dednal/chromium.src,Chilledheart/chromium,pozdnyakov/chromium-crosswalk,rogerwang/chromium,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,keishi/chromium,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,hujiajie/pa-chromium,jaruba/chromium.src,robclark/chromium,ChromiumWebApps/chromium,hujiajie/pa-chromium,zcbenz/cefode-chromium,robclark/chromium,fujunwei/chromium-crosswalk,dushu1203/chromium.src,robclark/chromium,Fireblend/chromium-crosswalk,littlstar/chromium.src,M4sse/chromium.src,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk-efl,ltilve/chromium,crosswalk-project/chromium-crosswalk-efl,Just-D/chromium-1,Pluto-tv/chromium-crosswalk,rogerwang/chromium,pozdnyakov/chromium-crosswalk,jaruba/chromium.src,dushu1203/chromium.src,Chilledheart/chromium,markYoungH/chromium.src,hujiajie/pa-chromium,ltilve/chromium,mogoweb/chromium-crosswalk,M4sse/chromium.src,pozdnyakov/chromium-crosswalk,zcbenz/cefode-chromium,M4sse/chromium.src,PeterWangIntel/chromium-crosswalk,markYoungH/chromium.src,krieger-od/nwjs_chromium.src,junmin-zhu/chromium-rivertrail,Jonekee/chromium.src,bright-sparks/chromium-spacewalk,dednal/chromium.src,Chilledheart/chromium,Jonekee/chromium.src,dushu1203/chromium.src,anirudhSK/chromium,hujiajie/pa-chromium,markYoungH/chromium.src,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,Jonekee/chromium.src,jaruba/chromium.src,patrickm/chromium.src,rogerwang/chromium,nacl-webkit/chrome_deps,axinging/chromium-crosswalk,pozdnyakov/chromium-crosswalk,M4sse/chromium.src,mogoweb/chromium-crosswalk,keishi/chromium,keishi/chromium,dushu1203/chromium.src,nacl-webkit/chrome_deps,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,ltilve/chromium,PeterWangIntel/chromium-crosswalk,Pluto-tv/chromium-crosswalk,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,Fireblend/chromium-crosswalk,ChromiumWebApps/chromium,Fireblend/chromium-crosswalk,dushu1203/chromium.src,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,nacl-webkit/chrome_deps,anirudhSK/chromium,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk,ondra-novak/chromium.src,markYoungH/chromium.src,TheTypoMaster/chromium-crosswalk,Just-D/chromium-1,jaruba/chromium.src,hujiajie/pa-chromium,hgl888/chromium-crosswalk-efl,ChromiumWebApps/chromium,zcbenz/cefode-chromium,mogoweb/chromium-crosswalk,ltilve/chromium,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk,dednal/chromium.src,patrickm/chromium.src,Chilledheart/chromium,dednal/chromium.src,M4sse/chromium.src,Pluto-tv/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,robclark/chromium,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,mogoweb/chromium-crosswalk,Fireblend/chromium-crosswalk,ondra-novak/chromium.src,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk,junmin-zhu/chromium-rivertrail,mohamed--abdel-maksoud/chromium.src,Just-D/chromium-1,crosswalk-project/chromium-crosswalk-efl,timopulkkinen/BubbleFish,keishi/chromium,chuan9/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hujiajie/pa-chromium,littlstar/chromium.src,Jonekee/chromium.src,keishi/chromium,anirudhSK/chromium,markYoungH/chromium.src,jaruba/chromium.src,anirudhSK/chromium,ltilve/chromium,dushu1203/chromium.src,pozdnyakov/chromium-crosswalk,Chilledheart/chromium,rogerwang/chromium,ltilve/chromium,keishi/chromium,jaruba/chromium.src,Jonekee/chromium.src,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,krieger-od/nwjs_chromium.src,mogoweb/chromium-crosswalk,ltilve/chromium,Pluto-tv/chromium-crosswalk,fujunwei/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Just-D/chromium-1,bright-sparks/chromium-spacewalk,timopulkkinen/BubbleFish,axinging/chromium-crosswalk,zcbenz/cefode-chromium,mohamed--abdel-maksoud/chromium.src,Chilledheart/chromium,hgl888/chromium-crosswalk-efl,robclark/chromium,ChromiumWebApps/chromium,M4sse/chromium.src,rogerwang/chromium,krieger-od/nwjs_chromium.src,chuan9/chromium-crosswalk,M4sse/chromium.src,rogerwang/chromium,ChromiumWebApps/chromium,M4sse/chromium.src,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,keishi/chromium,dushu1203/chromium.src,jaruba/chromium.src,mohamed--abdel-maksoud/chromium.src,mogoweb/chromium-crosswalk,Just-D/chromium-1,chuan9/chromium-crosswalk,Fireblend/chromium-crosswalk,fujunwei/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk-efl,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,jaruba/chromium.src,fujunwei/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,patrickm/chromium.src,krieger-od/nwjs_chromium.src,Just-D/chromium-1,timopulkkinen/BubbleFish,anirudhSK/chromium,littlstar/chromium.src,littlstar/chromium.src,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,Chilledheart/chromium,M4sse/chromium.src,nacl-webkit/chrome_deps,keishi/chromium,ChromiumWebApps/chromium,bright-sparks/chromium-spacewalk,dednal/chromium.src,crosswalk-project/chromium-crosswalk-efl,ondra-novak/chromium.src,ChromiumWebApps/chromium,robclark/chromium,nacl-webkit/chrome_deps,timopulkkinen/BubbleFish,anirudhSK/chromium,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,bright-sparks/chromium-spacewalk,mohamed--abdel-maksoud/chromium.src,chuan9/chromium-crosswalk,fujunwei/chromium-crosswalk,anirudhSK/chromium,Chilledheart/chromium,littlstar/chromium.src,dushu1203/chromium.src,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,dushu1203/chromium.src,bright-sparks/chromium-spacewalk,dednal/chromium.src,PeterWangIntel/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src