summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffnotify.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-05-01 22:26:44 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-01 22:26:44 +0000
commitc9cd2874278e5395a150d8ad08f44bc738bce6be (patch)
tree7ba4f86d5d913cc0b6ae8dc37f78fa1e82cadb8c /xfa/fxfa/cxfa_ffnotify.cpp
parent2e118e8f73f939fa93d144470e7fa31228e7e74d (diff)
downloadpdfium-c9cd2874278e5395a150d8ad08f44bc738bce6be.tar.xz
Transform float out params from reference to pointer in CXFA_Node.
Change-Id: I4039917c5342f6a4c6568029a293066901bb5db4 Reviewed-on: https://pdfium-review.googlesource.com/31870 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffnotify.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffnotify.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_ffnotify.cpp b/xfa/fxfa/cxfa_ffnotify.cpp
index 5aca631914..a3e082681e 100644
--- a/xfa/fxfa/cxfa_ffnotify.cpp
+++ b/xfa/fxfa/cxfa_ffnotify.cpp
@@ -194,9 +194,9 @@ CXFA_ContentLayoutItem* CXFA_FFNotify::OnCreateContentLayoutItem(
}
void CXFA_FFNotify::StartFieldDrawLayout(CXFA_Node* pItem,
- float& fCalcWidth,
- float& fCalcHeight) {
- pItem->StartWidgetLayout(m_pDoc.Get(), fCalcWidth, fCalcHeight);
+ float* pCalcWidth,
+ float* pCalcHeight) {
+ pItem->StartWidgetLayout(m_pDoc.Get(), pCalcWidth, pCalcHeight);
}
bool CXFA_FFNotify::RunScript(CXFA_Script* script, CXFA_Node* item) {