Fix for DrawArrays, DrawElements. Removed the check for an invalid program. The check is already in UseProgram. If that check passes the program is "installed" at which point it, even if LinkProgram is called and fails, marking the program as invalid, the previously installed program is still in use until UseProgram is called.
Fix for DrawArrays, DrawElements. Removed the check
for an invalid program. The check is already in
UseProgram. If that check passes the program is
"installed" at which point it, even if LinkProgram
is called and fails, marking the program as invalid,
the previously installed program is still in use
until UseProgram is called.

TEST=none
BUG=none

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

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

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