From 5e9066cbfa252b84d49f8b4adba445ba7761e81f Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 9 Jan 2017 13:43:07 -0800 Subject: Add CFDE_TxtEdtBuf tests 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 --- xfa/fde/cfde_txtedtengine.h | 1 - 1 file changed, 1 deletion(-) (limited to 'xfa/fde/cfde_txtedtengine.h') diff --git a/xfa/fde/cfde_txtedtengine.h b/xfa/fde/cfde_txtedtengine.h index 755a820fd2..6918d6305f 100644 --- a/xfa/fde/cfde_txtedtengine.h +++ b/xfa/fde/cfde_txtedtengine.h @@ -69,7 +69,6 @@ class CFDE_TxtEdtEngine { int32_t DoLayout(IFX_Pause* pPause); void EndLayout(); - bool Optimize(IFX_Pause* pPause = nullptr); int32_t CountParags() const; CFDE_TxtEdtParag* GetParag(int32_t nParagIndex) const; IFX_CharIter* CreateCharIter(); -- cgit v1.2.3