diff options
author | tsepez <tsepez@chromium.org> | 2016-05-23 17:19:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-23 17:19:20 -0700 |
commit | a2d699f1462050833f959ebcf24853c2a6a10f72 (patch) | |
tree | 35cc25303ebc2bd68d36255e6db69a08f043dc66 /xfa/fde/css/fde_csscache.cpp | |
parent | db1a24e86d40977fb6d8aa8fa57dadee4c2f1be1 (diff) | |
download | pdfium-a2d699f1462050833f959ebcf24853c2a6a10f72.tar.xz |
Rename IFX_Unknown to IFX_Retainable.
Rename addRef() method to Retain() to match Release().
This CL does not convert to CFX_RetainPtrs, which will happen
in a follow-on.
Review-Url: https://codereview.chromium.org/2005933002
Diffstat (limited to 'xfa/fde/css/fde_csscache.cpp')
-rw-r--r-- | xfa/fde/css/fde_csscache.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fde/css/fde_csscache.cpp b/xfa/fde/css/fde_csscache.cpp index 0b21dcdea3..76a893d2d1 100644 --- a/xfa/fde/css/fde_csscache.cpp +++ b/xfa/fde/css/fde_csscache.cpp @@ -13,8 +13,7 @@ FDE_CSSCacheItem::FDE_CSSCacheItem(IFDE_CSSStyleSheet* p) : pStylesheet(p), dwActivity(0) { - ASSERT(pStylesheet); - pStylesheet->AddRef(); + pStylesheet->Retain(); } FDE_CSSCacheItem::~FDE_CSSCacheItem() { |