aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-04 20:45:06 +0000
committerGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-04 20:45:06 +0000
commit94bc60f9864094edbfb787b09c963d8818c8962f (patch)
treeb53d143adc119183fd45e7330db707451ab57fee /include
parentd5d69ffaea117428972db48796f7e75f0d1dab34 (diff)
Lock gFTMutex when modifying FT globals.
This prevents a crash when running bench_pictures with multiple threads. Also remove an unused function and fix a typo in SkFontHost. Review URL: https://codereview.appspot.com/6625043 git-svn-id: http://skia.googlecode.com/svn/trunk@5816 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkFontHost.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkFontHost.h b/include/core/SkFontHost.h
index b815df624a..86fcac0451 100644
--- a/include/core/SkFontHost.h
+++ b/include/core/SkFontHost.h
@@ -25,7 +25,7 @@ class SkWStream;
platform-specific implementation that provides access to font files.
One basic task is for each create (subclass of) SkTypeface, the FontHost is
- resonsible for assigning a uniqueID. The ID should be unique for the
+ responsible for assigning a uniqueID. The ID should be unique for the
underlying font file/data, not unique per typeface instance. Thus it is
possible/common to request a typeface for the same font more than once
(e.g. asking for the same font by name several times). The FontHost may