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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/FontFallbackList.h

Issue 1818233003: Merge WTF::initializeMainThread into WTF::initialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 10 matching lines...) Expand all
21 #ifndef FontFallbackList_h 21 #ifndef FontFallbackList_h
22 #define FontFallbackList_h 22 #define FontFallbackList_h
23 23
24 #include "platform/fonts/FallbackListCompositeKey.h" 24 #include "platform/fonts/FallbackListCompositeKey.h"
25 #include "platform/fonts/FontCache.h" 25 #include "platform/fonts/FontCache.h"
26 #include "platform/fonts/FontSelector.h" 26 #include "platform/fonts/FontSelector.h"
27 #include "platform/fonts/SimpleFontData.h" 27 #include "platform/fonts/SimpleFontData.h"
28 #include "platform/fonts/shaping/ShapeCache.h" 28 #include "platform/fonts/shaping/ShapeCache.h"
29 #include "wtf/Allocator.h" 29 #include "wtf/Allocator.h"
30 #include "wtf/Forward.h" 30 #include "wtf/Forward.h"
31 #include "wtf/MainThread.h"
32 #include "wtf/WeakPtr.h" 31 #include "wtf/WeakPtr.h"
33 32
34 namespace blink { 33 namespace blink {
35 34
36 class GlyphPageTreeNodeBase; 35 class GlyphPageTreeNodeBase;
37 class FontDescription; 36 class FontDescription;
38 37
39 const int cAllFamiliesScanned = -1; 38 const int cAllFamiliesScanned = -1;
40 39
41 class PLATFORM_EXPORT FontFallbackList : public RefCounted<FontFallbackList> { 40 class PLATFORM_EXPORT FontFallbackList : public RefCounted<FontFallbackList> {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 unsigned m_fontSelectorVersion; 133 unsigned m_fontSelectorVersion;
135 mutable int m_familyIndex; 134 mutable int m_familyIndex;
136 unsigned short m_generation; 135 unsigned short m_generation;
137 mutable bool m_hasLoadingFallback : 1; 136 mutable bool m_hasLoadingFallback : 1;
138 mutable WeakPtr<ShapeCache> m_shapeCache; 137 mutable WeakPtr<ShapeCache> m_shapeCache;
139 }; 138 };
140 139
141 } // namespace blink 140 } // namespace blink
142 141
143 #endif 142 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698