diff options
author | Lei Zhang <leizleiz@users.noreply.github.com> | 2016-10-28 17:41:01 -0700 |
---|---|---|
committer | Lei Zhang <leizleiz@users.noreply.github.com> | 2016-10-28 17:41:01 -0700 |
commit | 427f36e967318da60e86404a638bcecb10c97dbd (patch) | |
tree | 4cc9c424a30038336a9b2959e0f972f51992d44f /cpp/src/sfntly/font.cc | |
parent | 6e984975bf31b5a94fa3337dd56ab687bcee91c1 (diff) | |
download | sfntly-427f36e967318da60e86404a638bcecb10c97dbd.tar.gz |
Fix invalid cast found by Control Flow Integrity.
Instead of casting RefCounted objects to type NoAddRefRelease, make
AddRef() and Release() private methods that are only accessible to a
limited number of friends.
Fixes https://crbug.com/517959
Diffstat (limited to 'cpp/src/sfntly/font.cc')
0 files changed, 0 insertions, 0 deletions