summaryrefslogtreecommitdiff
path: root/core/fxcrt/css/cfx_css.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-01-31 16:57:32 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-31 16:57:32 +0000
commit6ec5ab029194f350866211eccb7ee2a2a0d35bef (patch)
treeeffe927d55924724984406537edeb40fd0f494f9 /core/fxcrt/css/cfx_css.h
parentfa61a7476d6be1dfd5c46be53996ba3ca7a3a610 (diff)
downloadpdfium-6ec5ab029194f350866211eccb7ee2a2a0d35bef.tar.xz
Remove handrolled search from GetCSSPropertyValueByName
BUG=pdfium:798 Change-Id: I1e50aeffa439063bc9eb2640af457e33c4e3c46c Reviewed-on: https://pdfium-review.googlesource.com/24713 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/css/cfx_css.h')
-rw-r--r--core/fxcrt/css/cfx_css.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/fxcrt/css/cfx_css.h b/core/fxcrt/css/cfx_css.h
index 3703394d4f..0ccaaf2bc8 100644
--- a/core/fxcrt/css/cfx_css.h
+++ b/core/fxcrt/css/cfx_css.h
@@ -31,6 +31,8 @@ enum class CFX_CSSPrimitiveType : uint8_t {
List,
};
+// Any entries added/removed here, will need to be mirrored in
+// propertyValueTable, in core/fxcrt/css/cfx_cssdeclaration.cpp.
enum class CFX_CSSPropertyValue : uint8_t {
Bolder = 0,
None,
@@ -76,11 +78,10 @@ enum class CFX_CSSPropertyValue : uint8_t {
Large,
Left,
TextTop,
- LAST_MARKER
};
// Any entries added/removed here, will need to be mirrored in
-// g_CFX_CSSProperties.
+// propertyTable, in core/fxcrt/css/cfx_csspropertytable.cpp.
enum class CFX_CSSProperty : uint8_t {
BorderLeft = 0,
Top,