aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-25 14:55:34 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-25 14:55:34 +0000
commita45bcc802229ba5e128d8ae7528b41219507970a (patch)
treed542aa5c17fb55ec629c935652221279c43c7463 /include/core
parente74f83bbfe4b62fc7c0d2958db1aeac8155e1154 (diff)
make SkFontHost::NextLogicalTypeface private (only called by SkScalerContext)
git-svn-id: http://skia.googlecode.com/svn/trunk@8363 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkFontHost.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/core/SkFontHost.h b/include/core/SkFontHost.h
index f4627ef5da..43aef909bd 100644
--- a/include/core/SkFontHost.h
+++ b/include/core/SkFontHost.h
@@ -91,6 +91,8 @@ public:
/** @deprecated get from Device. */
static LCDOrder GetSubpixelOrder();
+private:
+
/**
* DEPRECATED -- will be DESTROYED
*
@@ -110,8 +112,6 @@ public:
*/
static SkTypeface* NextLogicalTypeface(SkFontID currFontID, SkFontID origFontID);
-private:
-
/** Return a new, closest matching typeface given either an existing family
(specified by a typeface in that family) or by a familyName and a
requested style.
@@ -144,6 +144,7 @@ private:
///////////////////////////////////////////////////////////////////////////
+ friend class SkScalerContext;
friend class SkTypeface;
};