commit | 2f912f39b005b1725bd367c9dc5f1827cdde7be5 | [log] [tgz] |
---|---|---|
author | halcanary <halcanary@google.com> | Thu Oct 16 09:53:20 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Oct 16 09:53:21 2014 -0700 |
tree | 850817fff4536986f3f9f389d65841ece7094875 | |
parent | 4ba7686eb79a06b7165c007b41cd0cf7bb3ddb2d [diff] |
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