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

Side by Side Diff: third_party/WebKit/Source/core/html/canvas/CanvasFontCache.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CanvasFontCache_h 5 #ifndef CanvasFontCache_h
6 #define CanvasFontCache_h 6 #define CanvasFontCache_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/css/StylePropertySet.h" 9 #include "core/css/StylePropertySet.h"
10 #include "platform/fonts/Font.h" 10 #include "platform/fonts/Font.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 void willProcessTask() override { } 43 void willProcessTask() override { }
44 44
45 // For testing 45 // For testing
46 bool isInCache(const String&); 46 bool isInCache(const String&);
47 47
48 ~CanvasFontCache(); 48 ~CanvasFontCache();
49 49
50 private: 50 private:
51 explicit CanvasFontCache(Document&); 51 explicit CanvasFontCache(Document&);
52 void schedulePruningIfNeeded(); 52 void schedulePruningIfNeeded();
53 typedef WillBeHeapHashMap<String, RefPtrWillBeMember<MutableStylePropertySet >> MutableStylePropertyMap; 53 typedef HeapHashMap<String, Member<MutableStylePropertySet>> MutableStylePro pertyMap;
54 54
55 HashMap<String, Font> m_fontsResolvedUsingDefaultStyle; 55 HashMap<String, Font> m_fontsResolvedUsingDefaultStyle;
56 MutableStylePropertyMap m_fetchedFonts; 56 MutableStylePropertyMap m_fetchedFonts;
57 ListHashSet<String> m_fontLRUList; 57 ListHashSet<String> m_fontLRUList;
58 OwnPtr<FontCachePurgePreventer> m_mainCachePurgePreventer; 58 OwnPtr<FontCachePurgePreventer> m_mainCachePurgePreventer;
59 RawPtrWillBeMember<Document> m_document; 59 Member<Document> m_document;
60 RefPtr<ComputedStyle> m_defaultFontStyle; 60 RefPtr<ComputedStyle> m_defaultFontStyle;
61 bool m_pruningScheduled; 61 bool m_pruningScheduled;
62 }; 62 };
63 63
64 } // namespace blink 64 } // namespace blink
65 65
66 #endif 66 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698