OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved. |
6 * (C) 2007 Rob Buis (buis@kde.org) | 6 * (C) 2007 Rob Buis (buis@kde.org) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 } | 126 } |
127 | 127 |
128 const AtomicString& HTMLStyleElement::type() const | 128 const AtomicString& HTMLStyleElement::type() const |
129 { | 129 { |
130 return getAttribute(typeAttr); | 130 return getAttribute(typeAttr); |
131 } | 131 } |
132 | 132 |
133 ContainerNode* HTMLStyleElement::scopingNode() | 133 ContainerNode* HTMLStyleElement::scopingNode() |
134 { | 134 { |
135 if (!inDocument()) | 135 if (!inDocument()) |
136 return 0; | 136 return nullptr; |
137 | 137 |
138 if (isInShadowTree()) | 138 if (isInShadowTree()) |
139 return containingShadowRoot(); | 139 return containingShadowRoot(); |
140 | 140 |
141 return &document(); | 141 return &document(); |
142 } | 142 } |
143 | 143 |
144 void HTMLStyleElement::dispatchPendingLoadEvents() | 144 void HTMLStyleElement::dispatchPendingLoadEvents() |
145 { | 145 { |
146 styleLoadEventSender().dispatchPendingEvents(); | 146 styleLoadEventSender().dispatchPendingEvents(); |
(...skipping 28 matching lines...) Expand all Loading... |
175 styleSheet->setDisabled(setDisabled); | 175 styleSheet->setDisabled(setDisabled); |
176 } | 176 } |
177 | 177 |
178 void HTMLStyleElement::trace(Visitor* visitor) | 178 void HTMLStyleElement::trace(Visitor* visitor) |
179 { | 179 { |
180 StyleElement::trace(visitor); | 180 StyleElement::trace(visitor); |
181 HTMLElement::trace(visitor); | 181 HTMLElement::trace(visitor); |
182 } | 182 } |
183 | 183 |
184 } | 184 } |
OLD | NEW |