diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-10-05 11:11:09 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-05 17:22:48 +0000 |
commit | 023d645733cddcf026897c51f3d4c34090eb4b2d (patch) | |
tree | 55c9096e7f419c85a44fdf0ebbefe32c12f2e43a /core/fpdfdoc/cpdf_apsettings.h | |
parent | b23246be8d4a9aba2943d5fd0b7d9b2342d73d1e (diff) | |
download | pdfium-023d645733cddcf026897c51f3d4c34090eb4b2d.tar.xz |
Remove friend from CPDF_ApSettings
This CL removes the friend class from CPDF_ApSettings and makes the
needed methods public.
Change-Id: I062004d619676b31648f49c9d18a8595874e3c57
Reviewed-on: https://pdfium-review.googlesource.com/15532
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_apsettings.h')
-rw-r--r-- | core/fpdfdoc/cpdf_apsettings.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/fpdfdoc/cpdf_apsettings.h b/core/fpdfdoc/cpdf_apsettings.h index b4b72bc167..a807c2b581 100644 --- a/core/fpdfdoc/cpdf_apsettings.h +++ b/core/fpdfdoc/cpdf_apsettings.h @@ -59,9 +59,6 @@ class CPDF_ApSettings { CPDF_IconFit GetIconFit() const; int GetTextPosition() const; - private: - friend class CPDF_FormControl; - FX_ARGB GetColor(int& iColorType, const ByteString& csEntry) const; float GetOriginalColor(int index, const ByteString& csEntry) const; void GetOriginalColor(int& iColorType, @@ -71,6 +68,7 @@ class CPDF_ApSettings { WideString GetCaption(const ByteString& csEntry) const; CPDF_Stream* GetIcon(const ByteString& csEntry) const; + private: UnownedPtr<CPDF_Dictionary> const m_pDict; }; |