use int instead of size_t to match skia convention
use int instead of size_t to match skia convention

BUG=skia:
TBR=mtklein@google.com

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

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