GPU compositing on OSX canary broken
GPU compositing on OSX canary broken

Fixes logic for USE_AURA=1 case in Mac compositor.  Changes the code to not rely on |IsOffscreen| test to determine NSView-based surface.

BUG=105036
TEST=Manual test according to bug.
R=jbates@chromium.org, kbr@chromium.org

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

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

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