OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2006, 2007, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2006, 2007, 2012 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 { | 639 { |
640 for (unsigned i = 0; i < m_importRules.size(); ++i) { | 640 for (unsigned i = 0; i < m_importRules.size(); ++i) { |
641 if (!m_importRules[i]->styleSheet()) | 641 if (!m_importRules[i]->styleSheet()) |
642 continue; | 642 continue; |
643 m_importRules[i]->styleSheet()->findFontFaceRules(fontFaceRules); | 643 m_importRules[i]->styleSheet()->findFontFaceRules(fontFaceRules); |
644 } | 644 } |
645 | 645 |
646 findFontFaceRulesFromRules(childRules(), fontFaceRules); | 646 findFontFaceRulesFromRules(childRules(), fontFaceRules); |
647 } | 647 } |
648 | 648 |
649 void StyleSheetContents::trace(Visitor* visitor) | 649 DEFINE_TRACE(StyleSheetContents) |
650 { | 650 { |
651 #if ENABLE(OILPAN) | 651 #if ENABLE(OILPAN) |
652 visitor->trace(m_ownerRule); | 652 visitor->trace(m_ownerRule); |
653 visitor->trace(m_importRules); | 653 visitor->trace(m_importRules); |
654 visitor->trace(m_childRules); | 654 visitor->trace(m_childRules); |
655 visitor->trace(m_loadingClients); | 655 visitor->trace(m_loadingClients); |
656 visitor->trace(m_completedClients); | 656 visitor->trace(m_completedClients); |
657 visitor->trace(m_ruleSet); | 657 visitor->trace(m_ruleSet); |
658 #endif | 658 #endif |
659 } | 659 } |
660 | 660 |
661 } | 661 } |
OLD | NEW |