Const-correctness in PDF drawText() call
Const-correctness in PDF drawText() call

If SkPDFDevice::drawText is called with glyph encoding and a font with
cubic outlines (CFF or Type1) and a glyph code > 255 then it was
mutating the in(const) glyph codes in place.  Instead, a copy is made.

BUG=skia:3019

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

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