Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: include/ports/SkFontMgr_indirect.h

Issue 1215393002: Remove SkThread.h, include SkMutex.h or SkAtomics.h as appropriate. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: skimagefilter Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/core/SkWeakRefCnt.h ('k') | src/core/SkAAClip.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkFontMgr_indirect_DEFINED 8 #ifndef SkFontMgr_indirect_DEFINED
9 #define SkFontMgr_indirect_DEFINED 9 #define SkFontMgr_indirect_DEFINED
10 10
11 #include "SkDataTable.h" 11 #include "SkDataTable.h"
12 #include "SkFontMgr.h" 12 #include "SkFontMgr.h"
13 #include "SkFontStyle.h" 13 #include "SkFontStyle.h"
14 #include "SkMutex.h"
14 #include "SkRemotableFontMgr.h" 15 #include "SkRemotableFontMgr.h"
15 #include "SkTArray.h" 16 #include "SkTArray.h"
16 #include "SkTypeface.h" 17 #include "SkTypeface.h"
17 18
18 class SkData; 19 class SkData;
19 class SkStream; 20 class SkStream;
20 class SkString; 21 class SkString;
21 class SkTypeface; 22 class SkTypeface;
22 23
23 class SK_API SkFontMgr_Indirect : public SkFontMgr { 24 class SK_API SkFontMgr_Indirect : public SkFontMgr {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 97
97 mutable SkAutoTUnref<SkDataTable> fFamilyNames; 98 mutable SkAutoTUnref<SkDataTable> fFamilyNames;
98 mutable bool fFamilyNamesInited; 99 mutable bool fFamilyNamesInited;
99 mutable SkMutex fFamilyNamesMutex; 100 mutable SkMutex fFamilyNamesMutex;
100 static void set_up_family_names(const SkFontMgr_Indirect* self); 101 static void set_up_family_names(const SkFontMgr_Indirect* self);
101 102
102 friend class SkStyleSet_Indirect; 103 friend class SkStyleSet_Indirect;
103 }; 104 };
104 105
105 #endif 106 #endif
OLDNEW
« no previous file with comments | « include/core/SkWeakRefCnt.h ('k') | src/core/SkAAClip.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698