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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 case StyleRuleBase::FontFace: | 456 case StyleRuleBase::FontFace: |
457 if (toStyleRuleFontFace(rule)->properties().hasFailedOrCanceledSubre
sources()) | 457 if (toStyleRuleFontFace(rule)->properties().hasFailedOrCanceledSubre
sources()) |
458 return true; | 458 return true; |
459 break; | 459 break; |
460 case StyleRuleBase::Media: | 460 case StyleRuleBase::Media: |
461 if (childRulesHaveFailedOrCanceledSubresources(toStyleRuleMedia(rule
)->childRules())) | 461 if (childRulesHaveFailedOrCanceledSubresources(toStyleRuleMedia(rule
)->childRules())) |
462 return true; | 462 return true; |
463 break; | 463 break; |
464 case StyleRuleBase::Import: | 464 case StyleRuleBase::Import: |
465 case StyleRuleBase::Namespace: | 465 case StyleRuleBase::Namespace: |
| 466 case StyleRuleBase::Unknown: |
466 ASSERT_NOT_REACHED(); | 467 ASSERT_NOT_REACHED(); |
467 case StyleRuleBase::Page: | 468 case StyleRuleBase::Page: |
468 case StyleRuleBase::Keyframes: | 469 case StyleRuleBase::Keyframes: |
469 case StyleRuleBase::Keyframe: | 470 case StyleRuleBase::Keyframe: |
470 case StyleRuleBase::Supports: | 471 case StyleRuleBase::Supports: |
471 case StyleRuleBase::Viewport: | 472 case StyleRuleBase::Viewport: |
472 break; | 473 break; |
473 } | 474 } |
474 } | 475 } |
475 return false; | 476 return false; |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 visitor->trace(m_ownerRule); | 653 visitor->trace(m_ownerRule); |
653 visitor->trace(m_importRules); | 654 visitor->trace(m_importRules); |
654 visitor->trace(m_childRules); | 655 visitor->trace(m_childRules); |
655 visitor->trace(m_loadingClients); | 656 visitor->trace(m_loadingClients); |
656 visitor->trace(m_completedClients); | 657 visitor->trace(m_completedClients); |
657 visitor->trace(m_ruleSet); | 658 visitor->trace(m_ruleSet); |
658 #endif | 659 #endif |
659 } | 660 } |
660 | 661 |
661 } | 662 } |
OLD | NEW |