| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |