Avoid sending empty bitmaps through proxy canvas
Avoid sending empty bitmaps through proxy canvas

Some back ends may crash when asked to draw an empty bitmap, so we
filter it out here.

BUG=skia:3692
R=djsollen@google.com,reed@google.com

Review URL: https://codereview.chromium.org/1072033002

geekboxzone/mmallow_external_skia,YUPlayGodDev/platform_external_skia,tmpvar/skia.cc,todotodoo/skia,AOSPB/external_skia,AOSPB/external_skia,Hikari-no-Tenshi/android_external_skia,HalCanary/skia-hc,Infinitive-OS/platform_external_skia,Hikari-no-Tenshi/android_external_skia,vanish87/skia,nvoron23/skia,Hikari-no-Tenshi/android_external_skia,MinimalOS-AOSP/platform_external_skia,AOSP-YU/platform_external_skia,MinimalOS-AOSP/platform_external_skia,nvoron23/skia,rubenvb/skia,nfxosp/platform_external_skia,PAC-ROM/android_external_skia,ominux/skia,aosp-mirror/platform_external_skia,MinimalOS-AOSP/platform_external_skia,w3nd1go/android_external_skia,pcwalton/skia,AOSP-YU/platform_external_skia,google/skia,PAC-ROM/android_external_skia,noselhq/skia,AOSP-YU/platform_external_skia,tmpvar/skia.cc,shahrzadmn/skia,boulzordev/android_external_skia,TeamExodus/external_skia,amyvmiwei/skia,ominux/skia,vanish87/skia,noselhq/skia,YUPlayGodDev/platform_external_skia,OneRom/external_skia,rubenvb/skia,AOSPB/external_skia,shahrzadmn/skia,invisiblek/android_external_skia,amyvmiwei/skia,geekboxzone/mmallow_external_skia,nvoron23/skia,vanish87/skia,timduru/platform-external-skia,AOSPB/external_skia,pcwalton/skia,PAC-ROM/android_external_skia,TeamExodus/external_skia,VRToxin-AOSP/android_external_skia,MonkeyZZZZ/platform_external_skia,UBERMALLOW/external_skia,amyvmiwei/skia,rubenvb/skia,Infinitive-OS/platform_external_skia,MarshedOut/android_external_skia,boulzordev/android_external_skia,shahrzadmn/skia,ominux/skia,nvoron23/skia,BrokenROM/external_skia,ominux/skia,qrealka/skia-hc,AOSP-YU/platform_external_skia,tmpvar/skia.cc,MinimalOS-AOSP/platform_external_skia,geekboxzone/mmallow_external_skia,aosp-mirror/platform_external_skia,shahrzadmn/skia,timduru/platform-external-skia,noselhq/skia,TeamExodus/external_skia,w3nd1go/android_external_skia,AOSP-YU/platform_external_skia,AOSP-YU/platform_external_skia,OneRom/external_skia,timduru/platform-external-skia,OneRom/external_skia,nfxosp/platform_external_skia,Infinitive-OS/platform_external_skia,google/skia,TeamTwisted/external_skia,rubenvb/skia,UBERMALLOW/external_skia,YUPlayGodDev/platform_external_skia,pcwalton/skia,MonkeyZZZZ/platform_external_skia,tmpvar/skia.cc,UBERMALLOW/external_skia,w3nd1go/android_external_skia,pcwalton/skia,rubenvb/skia,AOSP-YU/platform_external_skia,Jichao/skia,vanish87/skia,nvoron23/skia,VRToxin-AOSP/android_external_skia,UBERMALLOW/external_skia,HalCanary/skia-hc,UBERMALLOW/external_skia,YUPlayGodDev/platform_external_skia,noselhq/skia,w3nd1go/android_external_skia,spezi77/android_external_skia,vanish87/skia,todotodoo/skia,google/skia,UBERMALLOW/external_skia,Jichao/skia,aosp-mirror/platform_external_skia,MinimalOS-AOSP/platform_external_skia,PAC-ROM/android_external_skia,spezi77/android_external_skia,Infinitive-OS/platform_external_skia,pcwalton/skia,HalCanary/skia-hc,qrealka/skia-hc,MonkeyZZZZ/platform_external_skia,Infinitive-OS/platform_external_skia,BrokenROM/external_skia,aosp-mirror/platform_external_skia,w3nd1go/android_external_skia,TeamTwisted/external_skia,Jichao/skia,qrealka/skia-hc,amyvmiwei/skia,vanish87/skia,nfxosp/platform_external_skia,Hikari-no-Tenshi/android_external_skia,YUPlayGodDev/platform_external_skia,MonkeyZZZZ/platform_external_skia,ominux/skia,VRToxin-AOSP/android_external_skia,shahrzadmn/skia,nfxosp/platform_external_skia,nfxosp/platform_external_skia,VRToxin-AOSP/android_external_skia,TeamTwisted/external_skia,w3nd1go/android_external_skia,rubenvb/skia,ominux/skia,pcwalton/skia,shahrzadmn/skia,nvoron23/skia,aosp-mirror/platform_external_skia,HalCanary/skia-hc,vanish87/skia,Infinitive-OS/platform_external_skia,AOSPB/external_skia,TeamExodus/external_skia,TeamExodus/external_skia,todotodoo/skia,BrokenROM/external_skia,BrokenROM/external_skia,amyvmiwei/skia,YUPlayGodDev/platform_external_skia,spezi77/android_external_skia,MonkeyZZZZ/platform_external_skia,invisiblek/android_external_skia,pcwalton/skia,spezi77/android_external_skia,tmpvar/skia.cc,nvoron23/skia,boulzordev/android_external_skia,boulzordev/android_external_skia,boulzordev/android_external_skia,invisiblek/android_external_skia,MinimalOS-AOSP/platform_external_skia,UBERMALLOW/external_skia,boulzordev/android_external_skia,HalCanary/skia-hc,BrokenROM/external_skia,todotodoo/skia,BrokenROM/external_skia,OneRom/external_skia,pcwalton/skia,todotodoo/skia,MarshedOut/android_external_skia,w3nd1go/android_external_skia,AOSPB/external_skia,aosp-mirror/platform_external_skia,geekboxzone/mmallow_external_skia,nvoron23/skia,tmpvar/skia.cc,Hikari-no-Tenshi/android_external_skia,Hikari-no-Tenshi/android_external_skia,w3nd1go/android_external_skia,TeamTwisted/external_skia,VRToxin-AOSP/android_external_skia,MinimalOS-AOSP/platform_external_skia,TeamExodus/external_skia,todotodoo/skia,pcwalton/skia,AOSP-YU/platform_external_skia,ominux/skia,geekboxzone/mmallow_external_skia,AOSPB/external_skia,noselhq/skia,PAC-ROM/android_external_skia,VRToxin-AOSP/android_external_skia,geekboxzone/mmallow_external_skia,todotodoo/skia,timduru/platform-external-skia,MarshedOut/android_external_skia,tmpvar/skia.cc,PAC-ROM/android_external_skia,AOSPB/external_skia,MonkeyZZZZ/platform_external_skia,MarshedOut/android_external_skia,boulzordev/android_external_skia,nfxosp/platform_external_skia,boulzordev/android_external_skia,rubenvb/skia,TeamTwisted/external_skia,VRToxin-AOSP/android_external_skia,Infinitive-OS/platform_external_skia,MinimalOS-AOSP/platform_external_skia,todotodoo/skia,Jichao/skia,qrealka/skia-hc,invisiblek/android_external_skia,amyvmiwei/skia,ominux/skia,google/skia,nfxosp/platform_external_skia,qrealka/skia-hc,ominux/skia,Hikari-no-Tenshi/android_external_skia,nfxosp/platform_external_skia,invisiblek/android_external_skia,OneRom/external_skia,w3nd1go/android_external_skia,google/skia,geekboxzone/mmallow_external_skia,MarshedOut/android_external_skia,MarshedOut/android_external_skia,MonkeyZZZZ/platform_external_skia,google/skia,TeamTwisted/external_skia,google/skia,HalCanary/skia-hc,noselhq/skia,google/skia,aosp-mirror/platform_external_skia,OneRom/external_skia,HalCanary/skia-hc,vanish87/skia,rubenvb/skia,AOSPB/external_skia,noselhq/skia,geekboxzone/mmallow_external_skia,invisiblek/android_external_skia,aosp-mirror/platform_external_skia,PAC-ROM/android_external_skia,YUPlayGodDev/platform_external_skia,noselhq/skia,spezi77/android_external_skia,amyvmiwei/skia,Jichao/skia,UBERMALLOW/external_skia,MinimalOS-AOSP/platform_external_skia,PAC-ROM/android_external_skia,geekboxzone/mmallow_external_skia,MarshedOut/android_external_skia,TeamExodus/external_skia,rubenvb/skia,nfxosp/platform_external_skia,qrealka/skia-hc,shahrzadmn/skia,invisiblek/android_external_skia,MonkeyZZZZ/platform_external_skia,UBERMALLOW/external_skia,Jichao/skia,Jichao/skia,HalCanary/skia-hc,TeamTwisted/external_skia,OneRom/external_skia,HalCanary/skia-hc,YUPlayGodDev/platform_external_skia,VRToxin-AOSP/android_external_skia,timduru/platform-external-skia,Jichao/skia,TeamTwisted/external_skia,qrealka/skia-hc,google/skia,tmpvar/skia.cc,noselhq/skia,TeamExodus/external_skia,timduru/platform-external-skia,boulzordev/android_external_skia,HalCanary/skia-hc,OneRom/external_skia,tmpvar/skia.cc,MarshedOut/android_external_skia,VRToxin-AOSP/android_external_skia,rubenvb/skia,qrealka/skia-hc,OneRom/external_skia,Jichao/skia,TeamTwisted/external_skia,timduru/platform-external-skia,shahrzadmn/skia,PAC-ROM/android_external_skia,BrokenROM/external_skia,invisiblek/android_external_skia,BrokenROM/external_skia,Infinitive-OS/platform_external_skia,aosp-mirror/platform_external_skia,google/skia,AOSP-YU/platform_external_skia,TeamExodus/external_skia,nvoron23/skia,todotodoo/skia,MonkeyZZZZ/platform_external_skia,Infinitive-OS/platform_external_skia,amyvmiwei/skia,aosp-mirror/platform_external_skia,MarshedOut/android_external_skia,YUPlayGodDev/platform_external_skia,spezi77/android_external_skia,vanish87/skia,Hikari-no-Tenshi/android_external_skia,shahrzadmn/skia