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

Side by Side Diff: Source/core/css/CSSFontSelector.h

Issue 18375005: [oilpan] Move CSSFontFace and CSSSegmentedFontFace to the managed heap (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/css/CSSFontSelector.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 (C) 2007, 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 private: 78 private:
79 CSSFontSelector(Document*); 79 CSSFontSelector(Document*);
80 80
81 void dispatchInvalidationCallbacks(); 81 void dispatchInvalidationCallbacks();
82 82
83 void beginLoadTimerFired(Timer<CSSFontSelector>*); 83 void beginLoadTimerFired(Timer<CSSFontSelector>*);
84 84
85 Document* m_document; 85 Document* m_document;
86 HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, WTF::FastAllocator, C aseFoldingHash> m_fontFaces; 86 HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, WTF::FastAllocator, C aseFoldingHash> m_fontFaces;
87 HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, WTF::FastAllocator, C aseFoldingHash> m_locallyInstalledFontFaces; 87 HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, WTF::FastAllocator, C aseFoldingHash> m_locallyInstalledFontFaces;
88 HashMap<String, OwnPtr<HashMap<unsigned, RefPtr<CSSSegmentedFontFace> > >, W TF::FastAllocator, CaseFoldingHash> m_fonts; 88 HashMap<String, OwnPtr<HashMap<unsigned, Persistent<CSSSegmentedFontFace> > >, WTF::FastAllocator, CaseFoldingHash> m_fonts;
89 HashSet<FontSelectorClient*> m_clients; 89 HashSet<FontSelectorClient*> m_clients;
90 90
91 Vector<CachedResourceHandle<CachedFont> > m_fontsToBeginLoading; 91 Vector<CachedResourceHandle<CachedFont> > m_fontsToBeginLoading;
92 Timer<CSSFontSelector> m_beginLoadingTimer; 92 Timer<CSSFontSelector> m_beginLoadingTimer;
93 93
94 unsigned m_version; 94 unsigned m_version;
95 }; 95 };
96 96
97 } // namespace WebCore 97 } // namespace WebCore
98 98
99 #endif // CSSFontSelector_h 99 #endif // CSSFontSelector_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSFontSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698