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

Side by Side Diff: Source/platform/fonts/GlyphPageTreeNode.h

Issue 858663002: Fix template angle bracket syntax in platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 11 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 | « Source/platform/fonts/GlyphMetricsMap.h ('k') | Source/platform/fonts/SimpleFontData.h » ('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) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 void initializeOverridePage(const FontData*, unsigned pageNumber); 127 void initializeOverridePage(const FontData*, unsigned pageNumber);
128 128
129 #ifndef NDEBUG 129 #ifndef NDEBUG
130 void showSubtree(); 130 void showSubtree();
131 #endif 131 #endif
132 132
133 static HashMap<int, GlyphPageTreeNode*>* roots; 133 static HashMap<int, GlyphPageTreeNode*>* roots;
134 static GlyphPageTreeNode* pageZeroRoot; 134 static GlyphPageTreeNode* pageZeroRoot;
135 135
136 RefPtr<GlyphPage> m_page; 136 RefPtr<GlyphPage> m_page;
137 typedef HashMap<const FontData*, OwnPtr<GlyphPageTreeNode> > GlyphPageTreeNo deMap; 137 typedef HashMap<const FontData*, OwnPtr<GlyphPageTreeNode>> GlyphPageTreeNod eMap;
138 GlyphPageTreeNodeMap m_children; 138 GlyphPageTreeNodeMap m_children;
139 OwnPtr<SystemFallbackGlyphPageTreeNode> m_systemFallbackChild; 139 OwnPtr<SystemFallbackGlyphPageTreeNode> m_systemFallbackChild;
140 }; 140 };
141 141
142 class PLATFORM_EXPORT SystemFallbackGlyphPageTreeNode : public GlyphPageTreeNode Base { 142 class PLATFORM_EXPORT SystemFallbackGlyphPageTreeNode : public GlyphPageTreeNode Base {
143 public: 143 public:
144 virtual GlyphPage* page(UScriptCode = USCRIPT_COMMON) override final; 144 virtual GlyphPage* page(UScriptCode = USCRIPT_COMMON) override final;
145 145
146 private: 146 private:
147 friend class GlyphPageTreeNode; 147 friend class GlyphPageTreeNode;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 inline GlyphPageTreeNodeBase* GlyphPageTreeNode::getChild(const FontData* fontDa ta, unsigned pageNumber) 187 inline GlyphPageTreeNodeBase* GlyphPageTreeNode::getChild(const FontData* fontDa ta, unsigned pageNumber)
188 { 188 {
189 if (fontData) 189 if (fontData)
190 return getNormalChild(fontData, pageNumber); 190 return getNormalChild(fontData, pageNumber);
191 return getSystemFallbackChild(pageNumber); 191 return getSystemFallbackChild(pageNumber);
192 } 192 }
193 193
194 } // namespace blink 194 } // namespace blink
195 195
196 #endif // GlyphPageTreeNode_h 196 #endif // GlyphPageTreeNode_h
OLDNEW
« no previous file with comments | « Source/platform/fonts/GlyphMetricsMap.h ('k') | Source/platform/fonts/SimpleFontData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698