| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2011 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 unsigned index = 0; | 226 unsigned index = 0; |
| 227 while (index < text.length()) { | 227 while (index < text.length()) { |
| 228 UChar32 c = text.characterStartingAt(index); | 228 UChar32 c = text.characterStartingAt(index); |
| 229 index += U16_LENGTH(c); | 229 index += U16_LENGTH(c); |
| 230 if (contains(c)) | 230 if (contains(c)) |
| 231 return true; | 231 return true; |
| 232 } | 232 } |
| 233 return false; | 233 return false; |
| 234 } | 234 } |
| 235 | 235 |
| 236 void CSSFontFace::trace(Visitor* visitor) | |
| 237 { | |
| 238 visitor->trace(m_segmentedFontFace); | |
| 239 visitor->trace(m_sources); | |
| 240 visitor->trace(m_fontFace); | |
| 241 } | 236 } |
| 242 | |
| 243 } | |
| OLD | NEW |