| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008 Apple Computer, Inc. All rights reserved. |
| 3 * Copyright (C) 2007-2008 Torch Mobile, Inc. | 3 * Copyright (C) 2007-2008 Torch Mobile, Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 int ttcIndex; | 201 int ttcIndex; |
| 202 bool isBold; | 202 bool isBold; |
| 203 bool isItalic; | 203 bool isItalic; |
| 204 }; | 204 }; |
| 205 static void getFontForCharacter(UChar32, | 205 static void getFontForCharacter(UChar32, |
| 206 const char* preferredLocale, | 206 const char* preferredLocale, |
| 207 PlatformFallbackFont*); | 207 PlatformFallbackFont*); |
| 208 #endif | 208 #endif |
| 209 PassRefPtr<SimpleFontData> fontDataFromFontPlatformData( | 209 PassRefPtr<SimpleFontData> fontDataFromFontPlatformData( |
| 210 const FontPlatformData*, | 210 const FontPlatformData*, |
| 211 ShouldRetain = Retain, | 211 ShouldRetain = Retain); |
| 212 bool = false); | |
| 213 | 212 |
| 214 void invalidateShapeCache(); | 213 void invalidateShapeCache(); |
| 215 | 214 |
| 216 static void crashWithFontInfo(const FontDescription*); | 215 static void crashWithFontInfo(const FontDescription*); |
| 217 | 216 |
| 218 // Memory reporting | 217 // Memory reporting |
| 219 void dumpFontPlatformDataCache(base::trace_event::ProcessMemoryDump*); | 218 void dumpFontPlatformDataCache(base::trace_event::ProcessMemoryDump*); |
| 220 void dumpShapeResultCache(base::trace_event::ProcessMemoryDump*); | 219 void dumpShapeResultCache(base::trace_event::ProcessMemoryDump*); |
| 221 | 220 |
| 222 private: | 221 private: |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 public: | 301 public: |
| 303 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); } | 302 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); } |
| 304 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging(); } | 303 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging(); } |
| 305 }; | 304 }; |
| 306 | 305 |
| 307 AtomicString toAtomicString(const SkString&); | 306 AtomicString toAtomicString(const SkString&); |
| 308 | 307 |
| 309 } // namespace blink | 308 } // namespace blink |
| 310 | 309 |
| 311 #endif | 310 #endif |
| OLD | NEW |