Mac: Fix assertion failure on pressing the fn-key (and increase robustness).
Mac: Fix assertion failure on pressing the fn-key (and increase robustness).

Patch by viettrungluu.

BUG=http://crbug.com/18796
TEST=On a Mac with an fn key, give the web page keyboard focus and press the fn
key.


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

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