linux: don't call NPP_SetWindow if the width/height is <= 0
linux: don't call NPP_SetWindow if the width/height is <= 0

This follows what Mozilla does, see https://bugzilla.mozilla.org/show_bug.cgi?id=108347
This fixes the gmail+flash = 100% CPU.

BUG=16844

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


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

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