summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_font.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-17 09:19:14 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-17 14:25:41 +0000
commit38ce5278ad391b66716425788b45a0bfa2331412 (patch)
tree843e1755f525d41bf0a8d6574e02e231f010f8bf /core/fxge/cfx_font.h
parentf9068a5c08e55c1c16b14863abd8a089a327bc4d (diff)
downloadpdfium-38ce5278ad391b66716425788b45a0bfa2331412.tar.xz
Remove fxge/ friend classes
This CL removes friends from classes in fxge/. Change-Id: I8180004de3ebf818ed4c8d5256a01c33cd2d880e Reviewed-on: https://pdfium-review.googlesource.com/16170 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/cfx_font.h')
-rw-r--r--core/fxge/cfx_font.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxge/cfx_font.h b/core/fxge/cfx_font.h
index d9f6debc5f..ecb64e5009 100644
--- a/core/fxge/cfx_font.h
+++ b/core/fxge/cfx_font.h
@@ -89,6 +89,8 @@ class CFX_Font {
uint32_t GetSize() const { return m_dwSize; }
void AdjustMMParams(int glyph_index, int width, int weight) const;
+ CFX_PathData* LoadGlyphPathImpl(uint32_t glyph_index, int dest_width) const;
+
static const size_t kAngleSkewArraySize = 30;
static const char s_AngleSkew[kAngleSkewArraySize];
static const size_t kWeightPowArraySize = 100;
@@ -103,8 +105,6 @@ class CFX_Font {
#endif // PDF_ENABLE_XFA
private:
- friend class CFX_FaceCache;
- CFX_PathData* LoadGlyphPathImpl(uint32_t glyph_index, int dest_width) const;
CFX_FaceCache* GetFaceCache() const;
void ReleasePlatformResource();
void DeleteFace();