diff options
Diffstat (limited to 'core/fpdfdoc/cpdf_defaultappearance.h')
-rw-r--r-- | core/fpdfdoc/cpdf_defaultappearance.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fpdfdoc/cpdf_defaultappearance.h b/core/fpdfdoc/cpdf_defaultappearance.h index ae3c4f5517..73e35c7cd4 100644 --- a/core/fpdfdoc/cpdf_defaultappearance.h +++ b/core/fpdfdoc/cpdf_defaultappearance.h @@ -27,9 +27,8 @@ class CPDF_DefaultAppearance { Optional<ByteString> GetFont(float* fFontSize); - bool HasColor(); - CFX_Color::Type GetColor(float fc[4]); - std::pair<CFX_Color::Type, FX_ARGB> GetColor(); + Optional<CFX_Color::Type> GetColor(float fc[4]); + std::pair<Optional<CFX_Color::Type>, FX_ARGB> GetColor(); bool FindTagParamFromStartForTesting(CPDF_SimpleParser* parser, const ByteStringView& token, |