Fix proxy code. The pac string was corrupted when a pac file was specified.
Fix proxy code. The pac string was corrupted when a pac
file was specified.

This is because AsciiToWide returns a temporary object, and
we use .c_str, but as soon as the line is executed, the
object is destroyed and what was pointed by c_str is also
deleted.

Use a local variable instead.

Thanks for griffinz@gmail.com for pointing the issue.

Review URL: http://codereview.chromium.org/1838

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

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