summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffimageedit.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-07 21:44:00 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 21:44:00 +0000
commit58629a0e49e4ebfb0a0171a4203d2fab4af63165 (patch)
treee25f5af0a5b3993dcc7ae0ed730f8c5c1fb1445c /xfa/fxfa/cxfa_ffimageedit.cpp
parent255e61ed20e42917e0055710fb5be56b2ad40afc (diff)
downloadpdfium-58629a0e49e4ebfb0a0171a4203d2fab4af63165.tar.xz
Rename CXFA_Value to CXFA_ValueDatachromium/3262
This CL renames CXFA_Value to CXFA_ValueData to show it's part of the data hierarchy. Change-Id: I4693234f503903a2c11d76a56dbbb6de5f0c3718 Reviewed-on: https://pdfium-review.googlesource.com/18018 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffimageedit.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffimageedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffimageedit.cpp b/xfa/fxfa/cxfa_ffimageedit.cpp
index 5140393b6e..41f659e8f3 100644
--- a/xfa/fxfa/cxfa_ffimageedit.cpp
+++ b/xfa/fxfa/cxfa_ffimageedit.cpp
@@ -76,8 +76,8 @@ void CXFA_FFImageEdit::RenderWidget(CXFA_Graphics* pGS,
}
int32_t iAspect = XFA_ATTRIBUTEENUM_Fit;
- if (CXFA_Value value = m_pDataAcc->GetFormValue()) {
- if (CXFA_ImageData imageData = value.GetImageData())
+ if (CXFA_ValueData valueData = m_pDataAcc->GetFormValueData()) {
+ if (CXFA_ImageData imageData = valueData.GetImageData())
iAspect = imageData.GetAspect();
}