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

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

Issue 953693002: InlinedVisitor: Migrate css to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 Vector<UnicodeRange> m_ranges; // If empty, represents the whole code sp ace. 100 Vector<UnicodeRange> m_ranges; // If empty, represents the whole code sp ace.
101 }; 101 };
102 102
103 FontFace::LoadStatus loadStatus() const { return m_fontFace->loadStatus(); } 103 FontFace::LoadStatus loadStatus() const { return m_fontFace->loadStatus(); }
104 bool maybeScheduleFontLoad(const FontDescription&, UChar32); 104 bool maybeScheduleFontLoad(const FontDescription&, UChar32);
105 void load(); 105 void load();
106 void load(const FontDescription&); 106 void load(const FontDescription&);
107 107
108 bool hadBlankText() { return isValid() && m_sources.first()->hadBlankText(); } 108 bool hadBlankText() { return isValid() && m_sources.first()->hadBlankText(); }
109 109
110 void trace(Visitor*); 110 DECLARE_TRACE();
111 111
112 private: 112 private:
113 void setLoadStatus(FontFace::LoadStatus); 113 void setLoadStatus(FontFace::LoadStatus);
114 114
115 UnicodeRangeSet m_ranges; 115 UnicodeRangeSet m_ranges;
116 RawPtrWillBeMember<CSSSegmentedFontFace> m_segmentedFontFace; 116 RawPtrWillBeMember<CSSSegmentedFontFace> m_segmentedFontFace;
117 WillBeHeapDeque<OwnPtrWillBeMember<CSSFontFaceSource> > m_sources; 117 WillBeHeapDeque<OwnPtrWillBeMember<CSSFontFaceSource> > m_sources;
118 RawPtrWillBeMember<FontFace> m_fontFace; 118 RawPtrWillBeMember<FontFace> m_fontFace;
119 }; 119 };
120 120
121 } 121 }
122 122
123 #endif 123 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698