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

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

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix 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 /* 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 16 matching lines...) Expand all
27 */ 27 */
28 28
29 #ifndef GlyphPageTreeNode_h 29 #ifndef GlyphPageTreeNode_h
30 #define GlyphPageTreeNode_h 30 #define GlyphPageTreeNode_h
31 31
32 #include "platform/fonts/GlyphPage.h" 32 #include "platform/fonts/GlyphPage.h"
33 #include "wtf/Allocator.h" 33 #include "wtf/Allocator.h"
34 #include "wtf/HashMap.h" 34 #include "wtf/HashMap.h"
35 #include "wtf/OwnPtr.h" 35 #include "wtf/OwnPtr.h"
36 #include "wtf/PassRefPtr.h" 36 #include "wtf/PassRefPtr.h"
37 #include "wtf/RefCounted.h"
38 #include "wtf/text/Unicode.h" 37 #include "wtf/text/Unicode.h"
39 #include <string.h> 38 #include <string.h>
40 39
41 #include <unicode/uscript.h> 40 #include <unicode/uscript.h>
42 41
43 namespace blink { 42 namespace blink {
44 43
45 class FontData; 44 class FontData;
46 class SimpleFontData; 45 class SimpleFontData;
47 46
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 inline GlyphPageTreeNodeBase* GlyphPageTreeNode::getChild(const FontData* fontDa ta, unsigned pageNumber) 187 inline GlyphPageTreeNodeBase* GlyphPageTreeNode::getChild(const FontData* fontDa ta, unsigned pageNumber)
189 { 188 {
190 if (fontData) 189 if (fontData)
191 return getNormalChild(fontData, pageNumber); 190 return getNormalChild(fontData, pageNumber);
192 return getSystemFallbackChild(pageNumber); 191 return getSystemFallbackChild(pageNumber);
193 } 192 }
194 193
195 } // namespace blink 194 } // namespace blink
196 195
197 #endif // GlyphPageTreeNode_h 196 #endif // GlyphPageTreeNode_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698