summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-05 11:11:09 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-05 17:22:48 +0000
commit023d645733cddcf026897c51f3d4c34090eb4b2d (patch)
tree55c9096e7f419c85a44fdf0ebbefe32c12f2e43a /core
parentb23246be8d4a9aba2943d5fd0b7d9b2342d73d1e (diff)
downloadpdfium-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')
-rw-r--r--core/fpdfdoc/cpdf_apsettings.h4
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;
};