diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-01-11 16:31:27 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-01-11 21:45:02 +0000 |
commit | 96f482c9cd3c99425fd3422251903b1218253c66 (patch) | |
tree | 5d089e55f47ab5e46b993026a5f961b44fed04e9 /xfa/fde/css/fde_css.cpp | |
parent | a63dd01d2fdda06f96e6188dbc3b415447bf2bc9 (diff) | |
download | pdfium-96f482c9cd3c99425fd3422251903b1218253c66.tar.xz |
Convert FDE CSS enums to enum classes.
This CL updates the possible FDE CSS enums to enum classes and fixes up any
instances of incorrect values being used. A few other cleanups and changes
were needed to complete the conversion.
Change-Id: Ibcca5229a9ca8de1f4beb6462535f61705fd4f8c
Reviewed-on: https://pdfium-review.googlesource.com/2170
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/css/fde_css.cpp')
-rw-r--r-- | xfa/fde/css/fde_css.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xfa/fde/css/fde_css.cpp b/xfa/fde/css/fde_css.cpp index 053b2774e6..c9122b4bfd 100644 --- a/xfa/fde/css/fde_css.cpp +++ b/xfa/fde/css/fde_css.cpp @@ -14,14 +14,14 @@ FDE_CSSVALUETYPE IFDE_CSSValueList::GetType() const { return FDE_CSSVALUETYPE_List; } -FDE_CSSRULETYPE IFDE_CSSStyleRule::GetType() const { - return FDE_CSSRULETYPE_Style; +FDE_CSSRuleType IFDE_CSSStyleRule::GetType() const { + return FDE_CSSRuleType::Style; } -FDE_CSSRULETYPE IFDE_CSSMediaRule::GetType() const { - return FDE_CSSRULETYPE_Media; +FDE_CSSRuleType IFDE_CSSMediaRule::GetType() const { + return FDE_CSSRuleType::Media; } -FDE_CSSRULETYPE IFDE_CSSFontFaceRule::GetType() const { - return FDE_CSSRULETYPE_FontFace; +FDE_CSSRuleType IFDE_CSSFontFaceRule::GetType() const { + return FDE_CSSRuleType::FontFace; } |