summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffimageedit.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-07 20:30:40 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 20:30:40 +0000
commit73c4b0fe5dd1e1924b2cd7b19910ef9d86dcc9ab (patch)
treeefeab8632b17781ed26817d4bad23362854b8c52 /xfa/fxfa/cxfa_ffimageedit.cpp
parent4d48bbfd5378ffe70a17ad613b9c167ad3ef03b2 (diff)
downloadpdfium-73c4b0fe5dd1e1924b2cd7b19910ef9d86dcc9ab.tar.xz
Rename CXFA_Image to CXFA_ImageData
This CL renames CXFA_Image to CXFA_ImageData to make it clear it's part of the data hierarchy. Change-Id: Ia593ef3c9deb872db11f8246b13ef3c39a90d4c7 Reviewed-on: https://pdfium-review.googlesource.com/17984 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@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 14d66e6198..0a6338aff6 100644
--- a/xfa/fxfa/cxfa_ffimageedit.cpp
+++ b/xfa/fxfa/cxfa_ffimageedit.cpp
@@ -77,8 +77,8 @@ void CXFA_FFImageEdit::RenderWidget(CXFA_Graphics* pGS,
int32_t iAspect = XFA_ATTRIBUTEENUM_Fit;
if (CXFA_Value value = m_pDataAcc->GetFormValue()) {
- if (CXFA_Image imageObj = value.GetImage())
- iAspect = imageObj.GetAspect();
+ if (CXFA_ImageData imageData = value.GetImageData())
+ iAspect = imageData.GetAspect();
}
int32_t iImageXDpi = 0;