| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/css/CSSNamespaceRule.h" | 5 #include "core/css/CSSNamespaceRule.h" |
| 6 | 6 |
| 7 #include "core/css/CSSMarkup.h" | 7 #include "core/css/CSSMarkup.h" |
| 8 #include "core/css/StyleRuleNamespace.h" | 8 #include "core/css/StyleRuleNamespace.h" |
| 9 #include "wtf/text/StringBuilder.h" | 9 #include "platform/wtf/text/StringBuilder.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 CSSNamespaceRule::CSSNamespaceRule(StyleRuleNamespace* namespace_rule, | 13 CSSNamespaceRule::CSSNamespaceRule(StyleRuleNamespace* namespace_rule, |
| 14 CSSStyleSheet* parent) | 14 CSSStyleSheet* parent) |
| 15 : CSSRule(parent), namespace_rule_(namespace_rule) {} | 15 : CSSRule(parent), namespace_rule_(namespace_rule) {} |
| 16 | 16 |
| 17 CSSNamespaceRule::~CSSNamespaceRule() {} | 17 CSSNamespaceRule::~CSSNamespaceRule() {} |
| 18 | 18 |
| 19 String CSSNamespaceRule::cssText() const { | 19 String CSSNamespaceRule::cssText() const { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 35 AtomicString CSSNamespaceRule::prefix() const { | 35 AtomicString CSSNamespaceRule::prefix() const { |
| 36 return namespace_rule_->Prefix(); | 36 return namespace_rule_->Prefix(); |
| 37 } | 37 } |
| 38 | 38 |
| 39 DEFINE_TRACE(CSSNamespaceRule) { | 39 DEFINE_TRACE(CSSNamespaceRule) { |
| 40 visitor->Trace(namespace_rule_); | 40 visitor->Trace(namespace_rule_); |
| 41 CSSRule::Trace(visitor); | 41 CSSRule::Trace(visitor); |
| 42 } | 42 } |
| 43 | 43 |
| 44 } // namespace blink | 44 } // namespace blink |
| OLD | NEW |