aboutsummaryrefslogtreecommitdiff
path: root/cpp/src/sfntly/font.cc
diff options
context:
space:
mode:
authorLei Zhang <leizleiz@users.noreply.github.com>2016-10-28 17:41:01 -0700
committerLei Zhang <leizleiz@users.noreply.github.com>2016-10-28 17:41:01 -0700
commit427f36e967318da60e86404a638bcecb10c97dbd (patch)
tree4cc9c424a30038336a9b2959e0f972f51992d44f /cpp/src/sfntly/font.cc
parent6e984975bf31b5a94fa3337dd56ab687bcee91c1 (diff)
downloadsfntly-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