diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-22 10:20:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-22 10:20:43 -0700 |
commit | 577ad2c9ea89c721ee1dbb89d1f7e12bb8c333f7 (patch) | |
tree | 7e298b611fd4bf07713c35d01c6bc9b900758191 /fpdfsdk/formfiller/cffl_textfield.cpp | |
parent | bb577af2f17467a55c04fbff21a8f0ec1016601a (diff) | |
download | pdfium-577ad2c9ea89c721ee1dbb89d1f7e12bb8c333f7.tar.xz |
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
Diffstat (limited to 'fpdfsdk/formfiller/cffl_textfield.cpp')
-rw-r--r-- | fpdfsdk/formfiller/cffl_textfield.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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); } } |