summaryrefslogtreecommitdiff
path: root/xfa/fde/css/cfde_cssvaluelistparser.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-02-07 11:47:24 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-02-08 14:07:04 +0000
commit36c18c872addaa2d5cc36d1b218f8d2dc22a38be (patch)
tree6eaeb93a8566b8efca547600cb20d4b6253b7949 /xfa/fde/css/cfde_cssvaluelistparser.h
parent071d78690a4e2becffaeeb32fe210ee58ab3e532 (diff)
downloadpdfium-36c18c872addaa2d5cc36d1b218f8d2dc22a38be.tar.xz
Add CFDE_CSSValueListParser tests
This Cl adds some unit tests for the CFDE_CSSValueListParser prior to refactoring. Change-Id: I2b32775ea1e70b721f5902cd3d88d68a01166d5e Reviewed-on: https://pdfium-review.googlesource.com/2535 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/css/cfde_cssvaluelistparser.h')
-rw-r--r--xfa/fde/css/cfde_cssvaluelistparser.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/xfa/fde/css/cfde_cssvaluelistparser.h b/xfa/fde/css/cfde_cssvaluelistparser.h
index 731ac3c84b..734aed8a52 100644
--- a/xfa/fde/css/cfde_cssvaluelistparser.h
+++ b/xfa/fde/css/cfde_cssvaluelistparser.h
@@ -19,12 +19,11 @@ class CFDE_CSSValueListParser {
bool NextValue(FDE_CSSPrimitiveType& eType,
const FX_WCHAR*& pStart,
int32_t& iLength);
+
FX_WCHAR m_Separator;
- protected:
- int32_t SkipTo(FX_WCHAR wch,
- bool bWSSeparator = false,
- bool bBrContinue = false);
+ private:
+ int32_t SkipTo(FX_WCHAR wch, bool breakOnSpace, bool matchBrackets);
const FX_WCHAR* m_pCur;
const FX_WCHAR* m_pEnd;