Read int properties from the X server as long.
Read int properties from the X server as long.

The documentation says that the values are returned as long,
even though the range of values is only 32-bit.  This makes
it safe to cast from 64-bit to 32-bit.

GetIntProperty isn't used anywhere and GetIntArrayProperty is
only used on ChromiumOS, so it never hit this bug before.

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

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

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