summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-03-27 16:03:43 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-03-28 13:58:08 +0000
commit369fe1f7f9f3a424ee3cf8f992c3128db27fa479 (patch)
treea263d96bf4b45e572157d1c093dc321d941be3fd /xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
parent1ded376f257f0894d68a0be68d0628171792e823 (diff)
downloadpdfium-369fe1f7f9f3a424ee3cf8f992c3128db27fa479.tar.xz
Remove CFX_ArrayTemplate in CXFA_ValueArray
Change-Id: I68f317b9fb9b162a5d99cdacc619c85f96a5bf52 Reviewed-on: https://pdfium-review.googlesource.com/3239 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_fm2jscontext.cpp')
-rw-r--r--xfa/fxfa/fm2js/xfa_fm2jscontext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp b/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
index e951716802..8a42c2619c 100644
--- a/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
+++ b/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
@@ -6169,13 +6169,13 @@ void CXFA_FM2JSContext::ParseResolveResult(
}
CXFA_ValueArray objectProperties(pIsolate);
- int32_t iRet = resoveNodeRS.GetAttributeResult(objectProperties);
+ int32_t iRet = resoveNodeRS.GetAttributeResult(&objectProperties);
*bAttribute = true;
if (iRet != 0) {
*bAttribute = false;
for (int32_t i = 0; i < iRet; i++) {
resultValues->push_back(pdfium::MakeUnique<CFXJSE_Value>(pIsolate));
- resultValues->back()->Assign(objectProperties[i]);
+ resultValues->back()->Assign(objectProperties.m_Values[i].get());
}
return;
}