summaryrefslogtreecommitdiff
path: root/xfa/fde/css/fde_csscache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/css/fde_csscache.cpp')
-rw-r--r--xfa/fde/css/fde_csscache.cpp3
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() {