Remove dependency on std::string
Remove dependency on std::string

BUG=skia:
R=bungeman@google.com, mtklein@google.com

Author: mtklein@chromium.org

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

AOSP-YU/platform_external_skia,noselhq/skia,BrokenROM/external_skia,TeamEOS/external_chromium_org_third_party_skia,VRToxin-AOSP/android_external_skia,ench0/external_chromium_org_third_party_skia,MyAOSP/external_chromium_org_third_party_skia,MIPS/external-chromium_org-third_party-skia,DiamondLovesYou/skia-sys,Infinitive-OS/platform_external_skia,samuelig/skia,MinimalOS/android_external_chromium_org_third_party_skia,MarshedOut/android_external_skia,tmpvar/skia.cc,boulzordev/android_external_skia,AOSPB/external_skia,vanish87/skia,google/skia,MyAOSP/external_chromium_org_third_party_skia,rubenvb/skia,Jichao/skia,Infinitive-OS/platform_external_skia,AOSP-YU/platform_external_skia,Hikari-no-Tenshi/android_external_skia,boulzordev/android_external_skia,rubenvb/skia,pcwalton/skia,timduru/platform-external-skia,chenlian2015/skia_from_google,tmpvar/skia.cc,noselhq/skia,boulzordev/android_external_skia,vanish87/skia,jtg-gg/skia,MinimalOS/external_chromium_org_third_party_skia,vanish87/skia,YUPlayGodDev/platform_external_skia,jtg-gg/skia,HalCanary/skia-hc,MIPS/external-chromium_org-third_party-skia,FusionSP/external_chromium_org_third_party_skia,qrealka/skia-hc,TeamTwisted/external_skia,TeamTwisted/external_skia,shahrzadmn/skia,jtg-gg/skia,amyvmiwei/skia,OptiPop/external_chromium_org_third_party_skia,UBERMALLOW/external_skia,google/skia,nfxosp/platform_external_skia,nvoron23/skia,ominux/skia,Igalia/skia,invisiblek/android_external_skia,samuelig/skia,YUPlayGodDev/platform_external_skia,google/skia,spezi77/android_external_skia,pcwalton/skia,FusionSP/external_chromium_org_third_party_skia,MinimalOS/android_external_chromium_org_third_party_skia,pcwalton/skia,MonkeyZZZZ/platform_external_skia,TeamEOS/external_chromium_org_third_party_skia,noselhq/skia,amyvmiwei/skia,MarshedOut/android_external_skia,AOSP-YU/platform_external_skia,tmpvar/skia.cc,invisiblek/android_external_skia,Jichao/skia,FusionSP/external_chromium_org_third_party_skia,Igalia/skia,aosp-mirror/platform_external_skia,nfxosp/platform_external_skia,w3nd1go/android_external_skia,Fusion-Rom/external_chromium_org_third_party_skia,YUPlayGodDev/platform_external_skia,ominux/skia,OptiPop/external_chromium_org_third_party_skia,tmpvar/skia.cc,MinimalOS/external_chromium_org_third_party_skia,aosp-mirror/platform_external_skia,mydongistiny/external_chromium_org_third_party_skia,Jichao/skia,invisiblek/android_external_skia,pcwalton/skia,DiamondLovesYou/skia-sys,android-ia/platform_external_chromium_org_third_party_skia,AOSPB/external_skia,DARKPOP/external_chromium_org_third_party_skia,pcwalton/skia,PAC-ROM/android_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,google/skia,DARKPOP/external_chromium_org_third_party_skia,AOSP-YU/platform_external_skia,qrealka/skia-hc,samuelig/skia,invisiblek/android_external_skia,nfxosp/platform_external_skia,MinimalOS/android_external_chromium_org_third_party_skia,android-ia/platform_external_chromium_org_third_party_skia,todotodoo/skia,rubenvb/skia,invisiblek/android_external_skia,amyvmiwei/skia,noselhq/skia,Hikari-no-Tenshi/android_external_skia,nvoron23/skia,timduru/platform-external-skia,mydongistiny/external_chromium_org_third_party_skia,nfxosp/platform_external_skia,nfxosp/platform_external_skia,OptiPop/external_chromium_org_third_party_skia,shahrzadmn/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,Fusion-Rom/external_chromium_org_third_party_skia,MarshedOut/android_external_skia,TeamTwisted/external_skia,Jichao/skia,scroggo/skia,Omegaphora/external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,DARKPOP/external_chromium_org_third_party_skia,ench0/external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,w3nd1go/android_external_skia,scroggo/skia,HalCanary/skia-hc,shahrzadmn/skia,android-ia/platform_external_chromium_org_third_party_skia,HalCanary/skia-hc,chenlian2015/skia_from_google,scroggo/skia,MinimalOS-AOSP/platform_external_skia,TeamExodus/external_skia,todotodoo/skia,MinimalOS-AOSP/platform_external_skia,qrealka/skia-hc,vanish87/skia,amyvmiwei/skia,android-ia/platform_external_chromium_org_third_party_skia,boulzordev/android_external_skia,TeamEOS/external_chromium_org_third_party_skia,geekboxzone/mmallow_external_skia,TeamEOS/external_chromium_org_third_party_skia,noselhq/skia,noselhq/skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,MIPS/external-chromium_org-third_party-skia,AOSPB/external_skia,AOSPB/external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,todotodoo/skia,w3nd1go/android_external_skia,AOSP-YU/platform_external_skia,MinimalOS-AOSP/platform_external_skia,nfxosp/platform_external_skia,MarshedOut/android_external_skia,Jichao/skia,YUPlayGodDev/platform_external_skia,noselhq/skia,MIPS/external-chromium_org-third_party-skia,OptiPop/external_chromium_org_third_party_skia,DiamondLovesYou/skia-sys,ominux/skia,Jichao/skia,BrokenROM/external_skia,PAC-ROM/android_external_skia,Igalia/skia,TeamTwisted/external_skia,TeamExodus/external_skia,boulzordev/android_external_skia,todotodoo/skia,VRToxin-AOSP/android_external_skia,boulzordev/android_external_skia,OneRom/external_skia,MinimalOS/external_chromium_org_third_party_skia,OptiPop/external_chromium_org_third_party_skia,scroggo/skia,w3nd1go/android_external_skia,samuelig/skia,shahrzadmn/skia,geekboxzone/mmallow_external_skia,boulzordev/android_external_skia,aosp-mirror/platform_external_skia,PAC-ROM/android_external_skia,MyAOSP/external_chromium_org_third_party_skia,MonkeyZZZZ/platform_external_skia,UBERMALLOW/external_skia,TeamExodus/external_skia,TeamExodus/external_skia,tmpvar/skia.cc,DARKPOP/external_chromium_org_third_party_skia,DARKPOP/external_chromium_org_third_party_skia,MinimalOS/external_chromium_org_third_party_skia,boulzordev/android_external_skia,VRToxin-AOSP/android_external_skia,MIPS/external-chromium_org-third_party-skia,rubenvb/skia,TeamExodus/external_skia,nvoron23/skia,timduru/platform-external-skia,xin3liang/platform_external_chromium_org_third_party_skia,nfxosp/platform_external_skia,pcwalton/skia,w3nd1go/android_external_skia,todotodoo/skia,DARKPOP/external_chromium_org_third_party_skia,rubenvb/skia,timduru/platform-external-skia,MonkeyZZZZ/platform_external_skia,BrokenROM/external_skia,aosp-mirror/platform_external_skia,xin3liang/platform_external_chromium_org_third_party_skia,DiamondLovesYou/skia-sys,MyAOSP/external_chromium_org_third_party_skia,MIPS/external-chromium_org-third_party-skia,YUPlayGodDev/platform_external_skia,MyAOSP/external_chromium_org_third_party_skia,Hikari-no-Tenshi/android_external_skia,tmpvar/skia.cc,android-ia/platform_external_chromium_org_third_party_skia,MinimalOS-AOSP/platform_external_skia,TeamExodus/external_skia,Fusion-Rom/external_chromium_org_third_party_skia,DARKPOP/external_chromium_org_third_party_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,nvoron23/skia,UBERMALLOW/external_skia,AOSP-YU/platform_external_skia,MinimalOS/android_external_chromium_org_third_party_skia,HalCanary/skia-hc,OneRom/external_skia,samuelig/skia,jtg-gg/skia,chenlian2015/skia_from_google,TeamEOS/external_chromium_org_third_party_skia,Omegaphora/external_chromium_org_third_party_skia,OneRom/external_skia,boulzordev/android_external_skia,google/skia,YUPlayGodDev/platform_external_skia,OptiPop/external_chromium_org_third_party_skia,noselhq/skia,nvoron23/skia,MonkeyZZZZ/platform_external_skia,vanish87/skia,todotodoo/skia,Infinitive-OS/platform_external_skia,AOSPB/external_skia,Hikari-no-Tenshi/android_external_skia,Hikari-no-Tenshi/android_external_skia,ominux/skia,OptiPop/external_chromium_org_third_party_skia,UBERMALLOW/external_skia,Omegaphora/external_chromium_org_third_party_skia,nvoron23/skia,chenlian2015/skia_from_google,DARKPOP/external_chromium_org_third_party_skia,OneRom/external_skia,google/skia,Omegaphora/external_chromium_org_third_party_skia,VRToxin-AOSP/android_external_skia,samuelig/skia,BrokenROM/external_skia,Omegaphora/external_chromium_org_third_party_skia,android-ia/platform_external_chromium_org_third_party_skia,Hikari-no-Tenshi/android_external_skia,chenlian2015/skia_from_google,BrokenROM/external_skia,todotodoo/skia,BrokenROM/external_skia,mydongistiny/external_chromium_org_third_party_skia,pcwalton/skia,MinimalOS/external_chromium_org_third_party_skia,amyvmiwei/skia,Fusion-Rom/external_chromium_org_third_party_skia,UBERMALLOW/external_skia,geekboxzone/mmallow_external_skia,xin3liang/platform_external_chromium_org_third_party_skia,aosp-mirror/platform_external_skia,invisiblek/android_external_skia,chenlian2015/skia_from_google,noselhq/skia,shahrzadmn/skia,Jichao/skia,Jichao/skia,UBERMALLOW/external_skia,BrokenROM/external_skia,ench0/external_chromium_org_third_party_skia,xin3liang/platform_external_chromium_org_third_party_skia,xin3liang/platform_external_chromium_org_third_party_skia,AOSP-YU/platform_external_skia,OneRom/external_skia,UBERMALLOW/external_skia,TeamEOS/external_chromium_org_third_party_skia,spezi77/android_external_skia,TeamExodus/external_skia,mydongistiny/external_chromium_org_third_party_skia,samuelig/skia,w3nd1go/android_external_skia,qrealka/skia-hc,rubenvb/skia,timduru/platform-external-skia,OneRom/external_skia,MinimalOS/android_external_chromium_org_third_party_skia,jtg-gg/skia,MarshedOut/android_external_skia,Igalia/skia,PAC-ROM/android_external_skia,mydongistiny/external_chromium_org_third_party_skia,HalCanary/skia-hc,MonkeyZZZZ/platform_external_skia,spezi77/android_external_skia,invisiblek/android_external_skia,tmpvar/skia.cc,VRToxin-AOSP/android_external_skia,UBERMALLOW/external_skia,AOSPB/external_skia,pcwalton/skia,MinimalOS/android_external_chromium_org_third_party_skia,TeamEOS/external_chromium_org_third_party_skia,YUPlayGodDev/platform_external_skia,Hikari-no-Tenshi/android_external_skia,AOSPB/external_skia,nfxosp/platform_external_skia,timduru/platform-external-skia,vanish87/skia,YUPlayGodDev/platform_external_skia,nvoron23/skia,Infinitive-OS/platform_external_skia,MonkeyZZZZ/platform_external_skia,qrealka/skia-hc,MinimalOS/external_chromium_org_third_party_skia,OptiPop/external_chromium_org_third_party_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,google/skia,shahrzadmn/skia,scroggo/skia,vanish87/skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,MonkeyZZZZ/platform_external_skia,w3nd1go/android_external_skia,FusionSP/external_chromium_org_third_party_skia,todotodoo/skia,HalCanary/skia-hc,ominux/skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,MinimalOS/external_chromium_org_third_party_skia,Fusion-Rom/external_chromium_org_third_party_skia,DiamondLovesYou/skia-sys,PAC-ROM/android_external_skia,Hikari-no-Tenshi/android_external_skia,amyvmiwei/skia,YUPlayGodDev/platform_external_skia,TeamExodus/external_skia,rubenvb/skia,PAC-ROM/android_external_skia,todotodoo/skia,mydongistiny/external_chromium_org_third_party_skia,OneRom/external_skia,geekboxzone/mmallow_external_skia,Omegaphora/external_chromium_org_third_party_skia,MIPS/external-chromium_org-third_party-skia,MIPS/external-chromium_org-third_party-skia,BrokenROM/external_skia,invisiblek/android_external_skia,xin3liang/platform_external_chromium_org_third_party_skia,TeamEOS/external_chromium_org_third_party_skia,Igalia/skia,FusionSP/external_chromium_org_third_party_skia,aosp-mirror/platform_external_skia,Fusion-Rom/external_chromium_org_third_party_skia,shahrzadmn/skia,FusionSP/external_chromium_org_third_party_skia,Omegaphora/external_chromium_org_third_party_skia,nvoron23/skia,Fusion-Rom/external_chromium_org_third_party_skia,MinimalOS-AOSP/platform_external_skia,mydongistiny/external_chromium_org_third_party_skia,TeamTwisted/external_skia,samuelig/skia,scroggo/skia,rubenvb/skia,w3nd1go/android_external_skia,MinimalOS/android_external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,OneRom/external_skia,MinimalOS-AOSP/platform_external_skia,qrealka/skia-hc,Omegaphora/external_chromium_org_third_party_skia,tmpvar/skia.cc,VRToxin-AOSP/android_external_skia,TeamTwisted/external_skia,HalCanary/skia-hc,android-ia/platform_external_chromium_org_third_party_skia,PAC-ROM/android_external_skia,ench0/external_chromium_org_third_party_skia,rubenvb/skia,qrealka/skia-hc,ominux/skia,geekboxzone/mmallow_external_skia,jtg-gg/skia,AOSP-YU/platform_external_skia,mydongistiny/external_chromium_org_third_party_skia,MinimalOS/android_external_chromium_org_third_party_skia,nfxosp/platform_external_skia,amyvmiwei/skia,MarshedOut/android_external_skia,spezi77/android_external_skia,spezi77/android_external_skia,MonkeyZZZZ/platform_external_skia,timduru/platform-external-skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,nvoron23/skia,MyAOSP/external_chromium_org_third_party_skia,geekboxzone/mmallow_external_skia,xin3liang/platform_external_chromium_org_third_party_skia,MyAOSP/external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,scroggo/skia,FusionSP/external_chromium_org_third_party_skia,MonkeyZZZZ/platform_external_skia,qrealka/skia-hc,DiamondLovesYou/skia-sys,shahrzadmn/skia,aosp-mirror/platform_external_skia,MyAOSP/external_chromium_org_third_party_skia,HalCanary/skia-hc,AOSPB/external_skia,VRToxin-AOSP/android_external_skia,MinimalOS/external_chromium_org_third_party_skia,ominux/skia,TeamTwisted/external_skia,Infinitive-OS/platform_external_skia,vanish87/skia,Igalia/skia,Igalia/skia,MinimalOS-AOSP/platform_external_skia,AOSPB/external_skia,rubenvb/skia,tmpvar/skia.cc,AOSP-YU/platform_external_skia,MarshedOut/android_external_skia,ench0/external_chromium_org_third_party_skia,Jichao/skia,ench0/external_chromium_org_third_party_skia,aosp-mirror/platform_external_skia,scroggo/skia,vanish87/skia,DiamondLovesYou/skia-sys,geekboxzone/mmallow_external_skia,VRToxin-AOSP/android_external_skia,MarshedOut/android_external_skia,TeamExodus/external_skia,shahrzadmn/skia,Igalia/skia,TeamTwisted/external_skia,amyvmiwei/skia,chenlian2015/skia_from_google,ominux/skia,Fusion-Rom/external_chromium_org_third_party_skia,geekboxzone/mmallow_external_skia,google/skia,OneRom/external_skia,VRToxin-AOSP/android_external_skia,ominux/skia,google/skia,pcwalton/skia,ench0/external_chromium_org_third_party_skia,TeamTwisted/external_skia,MinimalOS-AOSP/platform_external_skia,ench0/external_chromium_org_third_party_skia,HalCanary/skia-hc,MarshedOut/android_external_skia,PAC-ROM/android_external_skia,geekboxzone/mmallow_external_skia,jtg-gg/skia,HalCanary/skia-hc,FusionSP/external_chromium_org_third_party_skia,MinimalOS-AOSP/platform_external_skia,android-ia/platform_external_chromium_org_third_party_skia,google/skia,spezi77/android_external_skia,UBERMALLOW/external_skia,w3nd1go/android_external_skia,PAC-ROM/android_external_skia