summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_txtedtengine.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2017-01-09 13:43:07 -0800
committerCommit bot <commit-bot@chromium.org>2017-01-09 13:43:07 -0800
commit5e9066cbfa252b84d49f8b4adba445ba7761e81f (patch)
tree0c9a396c4740a8e1398e8caef28b1a44372e6fed /xfa/fde/cfde_txtedtengine.cpp
parentf04b7f1c438bf9f9e41a1925c6bcaa378c082ee1 (diff)
downloadpdfium-5e9066cbfa252b84d49f8b4adba445ba7761e81f.tar.xz
Add CFDE_TxtEdtBuf testschromium/2977
This CL adds a set of unit tests for the text edit buffer. It fixes up a few bugs found adding the tests and removes the unused ::Optimize method. Review-Url: https://codereview.chromium.org/2614383003
Diffstat (limited to 'xfa/fde/cfde_txtedtengine.cpp')
-rw-r--r--xfa/fde/cfde_txtedtengine.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/xfa/fde/cfde_txtedtengine.cpp b/xfa/fde/cfde_txtedtengine.cpp
index 342913d820..555df20b99 100644
--- a/xfa/fde/cfde_txtedtengine.cpp
+++ b/xfa/fde/cfde_txtedtengine.cpp
@@ -675,10 +675,6 @@ void CFDE_TxtEdtEngine::EndLayout() {
Unlock();
}
-bool CFDE_TxtEdtEngine::Optimize(IFX_Pause* pPause) {
- return m_pTxtBuf->Optimize(pPause);
-}
-
CFDE_TxtEdtBuf* CFDE_TxtEdtEngine::GetTextBuf() const {
return m_pTxtBuf.get();
}