Fix new tab button border
Fix new tab button border

In Aero mode the border of the new tab button was hard to see.

The problem was that I was drawing the border then masking out the bitmap. This caused parts of the border to be removed.

To fix this I'm masking out the image then drawing the border.

Screenshots:
  old button: http://imgur.com/a/juCLJ
  new button: http://imgur.com/a/Fc1jH

BUG=
TEST=


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

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

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