From ed4038bc335385b7e341d8de5c2bec8db5dcdcb6 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 22 Jan 2018 18:43:17 +0000 Subject: Move the UI elements from CXFA_WidgetAcc to CXFA_Node This CL moves the methods and members related to the UI nodes from the CXFA_WidgetAcc class to the CXFA_Node class. Change-Id: I1fdc5173787141065f1e607bbfefa3b22af738b4 Reviewed-on: https://pdfium-review.googlesource.com/23290 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- fxjs/xfa/cjx_draw.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fxjs/xfa/cjx_draw.cpp') diff --git a/fxjs/xfa/cjx_draw.cpp b/fxjs/xfa/cjx_draw.cpp index be9e430ae2..9d1e76c6f1 100644 --- a/fxjs/xfa/cjx_draw.cpp +++ b/fxjs/xfa/cjx_draw.cpp @@ -121,8 +121,7 @@ void CJX_Draw::defaultValue(CFXJSE_Value* pValue, return; ASSERT(GetXFANode()->IsWidgetReady()); - XFA_Element uiType = GetXFANode()->GetWidgetAcc()->GetUIType(); - if (uiType != XFA_Element::Text) + if (GetXFANode()->GetUIType() != XFA_Element::Text) return; WideString wsNewValue = pValue->ToWideString(); -- cgit v1.2.3