diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-24 21:55:21 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-24 21:55:21 +0000 |
commit | d8a3bc9ce941062fa4dd8cc2d03b16af402adafe (patch) | |
tree | 1f87a6c3b4b77738c5cf7ec7a16101b82f731eff /xfa/fxfa | |
parent | 9cbc37b4a5bfb3932e5f9a50c552d7b913178337 (diff) | |
download | pdfium-d8a3bc9ce941062fa4dd8cc2d03b16af402adafe.tar.xz |
Use ASSERT() consistently. Replace assert() usage.
ASSERT() is PDFium's wrapper for cross-platform wrapper for assert().
Change-Id: Ie2a98a8e1de101f93aa9bf667d6f125d11d129cd
Reviewed-on: https://pdfium-review.googlesource.com/c/44539
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa')
-rw-r--r-- | xfa/fxfa/parser/cxfa_nodeowner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_nodeowner.cpp b/xfa/fxfa/parser/cxfa_nodeowner.cpp index ae6f589616..13c969c10b 100644 --- a/xfa/fxfa/parser/cxfa_nodeowner.cpp +++ b/xfa/fxfa/parser/cxfa_nodeowner.cpp @@ -30,6 +30,6 @@ void CXFA_NodeOwner::FreeOwnedNode(CXFA_Node* node) { pdfium::FakeUniquePtr<CXFA_Node> search(node); auto it = nodes_.find(search); - assert(it != nodes_.end()); + ASSERT(it != nodes_.end()); nodes_.erase(it); } |