Fix for the crash reported in bug 116174.
Fix for the crash reported in bug 116174.

Resolves the bug where the user is using a platform for which the Media Stream InfoBar is not implemented, and where he does not have the requested devices installed on his system (e.g., request for "Video" but the user has no camera).

This fix applies to temporary code which will be removed whenever the InfoBar is implemented on all platforms.

BUG=116174
TEST=

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

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

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