From 577ad2c9ea89c721ee1dbb89d1f7e12bb8c333f7 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 22 Sep 2016 10:20:43 -0700 Subject: Move CPDFSDK_Environment code to cpp file This CL moves the code from the .h file into the .cpp file. Review-Url: https://codereview.chromium.org/2354363003 --- fpdfsdk/formfiller/cffl_textfield.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fpdfsdk/formfiller/cffl_textfield.cpp') diff --git a/fpdfsdk/formfiller/cffl_textfield.cpp b/fpdfsdk/formfiller/cffl_textfield.cpp index b80bbe4e17..611da7438a 100644 --- a/fpdfsdk/formfiller/cffl_textfield.cpp +++ b/fpdfsdk/formfiller/cffl_textfield.cpp @@ -278,7 +278,6 @@ void CFFL_TextField::OnSetFocus(CPWL_Wnd* pWnd) { int nCharacters = wsText.GetLength(); CFX_ByteString bsUTFText = wsText.UTF16LE_Encode(); unsigned short* pBuffer = (unsigned short*)bsUTFText.c_str(); - m_pEnv->OnSetFieldInputFocus(m_pWidget->GetFormField(), pBuffer, - nCharacters, TRUE); + m_pEnv->OnSetFieldInputFocus(pBuffer, nCharacters, TRUE); } } -- cgit v1.2.3