diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-21 22:56:37 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-21 22:56:37 +0000 |
commit | 1a3e186e975aa8eb6a6e42f2626b6f8ca980db19 (patch) | |
tree | cd9817ce3e5730a2b3efb36ccca253d5ecddac48 /xfa/fxfa/cxfa_ffdocview.cpp | |
parent | f47444256898ed42e01accffa9c97a4dd82c9013 (diff) | |
download | pdfium-1a3e186e975aa8eb6a6e42f2626b6f8ca980db19.tar.xz |
Use UnownedPtr<> in xfa_resolvenode_rs.h
Change-Id: I4420fbf7402a8b08e33ca525e98690643d59efdf
Reviewed-on: https://pdfium-review.googlesource.com/40930
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffdocview.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffdocview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffdocview.cpp b/xfa/fxfa/cxfa_ffdocview.cpp index 46b5710242..affdca2b6e 100644 --- a/xfa/fxfa/cxfa_ffdocview.cpp +++ b/xfa/fxfa/cxfa_ffdocview.cpp @@ -622,7 +622,7 @@ void CXFA_FFDocView::RunBindItems() { WideString wsValue; WideString wsLabel; uint32_t uValueHash = FX_HashCode_GetW(wsValueRef.AsStringView(), false); - for (CXFA_Object* refObject : rs.objects) { + for (auto& refObject : rs.objects) { CXFA_Node* refNode = refObject->AsNode(); if (!refNode) continue; |