| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> | 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> |
| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 m_customElementDefinition = definition; | 150 m_customElementDefinition = definition; |
| 151 } | 151 } |
| 152 CustomElementDefinition* customElementDefinition() const { | 152 CustomElementDefinition* customElementDefinition() const { |
| 153 return m_customElementDefinition.get(); | 153 return m_customElementDefinition.get(); |
| 154 } | 154 } |
| 155 | 155 |
| 156 AttrNodeList& ensureAttrNodeList(); | 156 AttrNodeList& ensureAttrNodeList(); |
| 157 AttrNodeList* attrNodeList() { return m_attrNodeList.get(); } | 157 AttrNodeList* attrNodeList() { return m_attrNodeList.get(); } |
| 158 void removeAttrNodeList() { m_attrNodeList.clear(); } | 158 void removeAttrNodeList() { m_attrNodeList.clear(); } |
| 159 void addAttr(Attr* attr) { | 159 void addAttr(Attr* attr) { |
| 160 ensureAttrNodeList().append(attr); | 160 ensureAttrNodeList().push_back(attr); |
| 161 ScriptWrappableVisitor::writeBarrier(this, attr); | 161 ScriptWrappableVisitor::writeBarrier(this, attr); |
| 162 } | 162 } |
| 163 | 163 |
| 164 ElementIntersectionObserverData* intersectionObserverData() const { | 164 ElementIntersectionObserverData* intersectionObserverData() const { |
| 165 return m_intersectionObserverData.get(); | 165 return m_intersectionObserverData.get(); |
| 166 } | 166 } |
| 167 ElementIntersectionObserverData& ensureIntersectionObserverData() { | 167 ElementIntersectionObserverData& ensureIntersectionObserverData() { |
| 168 if (!m_intersectionObserverData) { | 168 if (!m_intersectionObserverData) { |
| 169 m_intersectionObserverData = new ElementIntersectionObserverData(); | 169 m_intersectionObserverData = new ElementIntersectionObserverData(); |
| 170 ScriptWrappableVisitor::writeBarrier(this, m_intersectionObserverData); | 170 ScriptWrappableVisitor::writeBarrier(this, m_intersectionObserverData); |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 inline CompositorProxiedPropertySet& | 267 inline CompositorProxiedPropertySet& |
| 268 ElementRareData::ensureCompositorProxiedPropertySet() { | 268 ElementRareData::ensureCompositorProxiedPropertySet() { |
| 269 if (!m_proxiedProperties) | 269 if (!m_proxiedProperties) |
| 270 m_proxiedProperties = CompositorProxiedPropertySet::create(); | 270 m_proxiedProperties = CompositorProxiedPropertySet::create(); |
| 271 return *m_proxiedProperties; | 271 return *m_proxiedProperties; |
| 272 } | 272 } |
| 273 | 273 |
| 274 } // namespace blink | 274 } // namespace blink |
| 275 | 275 |
| 276 #endif // ElementRareData_h | 276 #endif // ElementRareData_h |
| OLD | NEW |