| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
| 3 * Copyright (C) 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2012 Apple Inc. All rights reserved. |
| 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 | 9 * 1. Redistributions of source code must retain the above |
| 10 * copyright notice, this list of conditions and the following | 10 * copyright notice, this list of conditions and the following |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "core/css/CSSGroupingRule.h" | 31 #include "core/css/CSSGroupingRule.h" |
| 32 | 32 |
| 33 #include "bindings/core/v8/ExceptionState.h" | 33 #include "bindings/core/v8/ExceptionState.h" |
| 34 #include "core/css/CSSRuleList.h" | 34 #include "core/css/CSSRuleList.h" |
| 35 #include "core/css/CSSStyleSheet.h" | 35 #include "core/css/CSSStyleSheet.h" |
| 36 #include "core/css/parser/CSSParser.h" | 36 #include "core/css/parser/CSSParser.h" |
| 37 #include "core/dom/ExceptionCode.h" | 37 #include "core/dom/ExceptionCode.h" |
| 38 #include "core/frame/UseCounter.h" | 38 #include "core/frame/UseCounter.h" |
| 39 #include "wtf/text/StringBuilder.h" | 39 #include "platform/wtf/text/StringBuilder.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 CSSGroupingRule::CSSGroupingRule(StyleRuleGroup* group_rule, | 43 CSSGroupingRule::CSSGroupingRule(StyleRuleGroup* group_rule, |
| 44 CSSStyleSheet* parent) | 44 CSSStyleSheet* parent) |
| 45 : CSSRule(parent), | 45 : CSSRule(parent), |
| 46 group_rule_(group_rule), | 46 group_rule_(group_rule), |
| 47 child_rule_cssom_wrappers_(group_rule->ChildRules().size()) {} | 47 child_rule_cssom_wrappers_(group_rule->ChildRules().size()) {} |
| 48 | 48 |
| 49 CSSGroupingRule::~CSSGroupingRule() {} | 49 CSSGroupingRule::~CSSGroupingRule() {} |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 } | 162 } |
| 163 | 163 |
| 164 DEFINE_TRACE(CSSGroupingRule) { | 164 DEFINE_TRACE(CSSGroupingRule) { |
| 165 CSSRule::Trace(visitor); | 165 CSSRule::Trace(visitor); |
| 166 visitor->Trace(child_rule_cssom_wrappers_); | 166 visitor->Trace(child_rule_cssom_wrappers_); |
| 167 visitor->Trace(group_rule_); | 167 visitor->Trace(group_rule_); |
| 168 visitor->Trace(rule_list_cssom_wrapper_); | 168 visitor->Trace(rule_list_cssom_wrapper_); |
| 169 } | 169 } |
| 170 | 170 |
| 171 } // namespace blink | 171 } // namespace blink |
| OLD | NEW |