Chromium Code Reviews| 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 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 3 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 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 * 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 220 { | 220 { |
| 221 m_fontLoader.loadPendingFonts(); | 221 m_fontLoader.loadPendingFonts(); |
| 222 } | 222 } |
| 223 | 223 |
| 224 void CSSFontSelector::updateGenericFontFamilySettings(Document& document) | 224 void CSSFontSelector::updateGenericFontFamilySettings(Document& document) |
| 225 { | 225 { |
| 226 ASSERT(document.settings()); | 226 ASSERT(document.settings()); |
| 227 m_genericFontFamilySettings = document.settings()->genericFontFamilySettings (); | 227 m_genericFontFamilySettings = document.settings()->genericFontFamilySettings (); |
| 228 } | 228 } |
| 229 | 229 |
| 230 void CSSFontSelector::trace(Visitor* visitor) | |
| 231 { | |
| 232 visitor->trace(m_fontFaceCache); | |
|
haraken
2014/04/07 14:10:12
You need to trace m_fontLoader. I hope the plugin
wibling-chromium
2014/04/08 09:35:59
It didn't. Thanks for catching this.
I just talked
| |
| 233 visitor->trace(m_clients); | |
| 230 } | 234 } |
| 235 | |
| 236 } | |
| OLD | NEW |