| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> |
| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 } | 76 } |
| 77 | 77 |
| 78 void SVGScriptElement::childrenChanged(const ChildrenChange& change) | 78 void SVGScriptElement::childrenChanged(const ChildrenChange& change) |
| 79 { | 79 { |
| 80 SVGElement::childrenChanged(change); | 80 SVGElement::childrenChanged(change); |
| 81 m_loader->childrenChanged(); | 81 m_loader->childrenChanged(); |
| 82 } | 82 } |
| 83 | 83 |
| 84 void SVGScriptElement::didMoveToNewDocument(Document& oldDocument) | 84 void SVGScriptElement::didMoveToNewDocument(Document& oldDocument) |
| 85 { | 85 { |
| 86 ScriptRunner::movePendingAsyncScript(oldDocument, document(), m_loader.get()
); | 86 ScriptRunner::movePendingScript(oldDocument, document(), m_loader.get()); |
| 87 SVGElement::didMoveToNewDocument(oldDocument); | 87 SVGElement::didMoveToNewDocument(oldDocument); |
| 88 } | 88 } |
| 89 | 89 |
| 90 bool SVGScriptElement::isURLAttribute(const Attribute& attribute) const | 90 bool SVGScriptElement::isURLAttribute(const Attribute& attribute) const |
| 91 { | 91 { |
| 92 return attribute.name() == AtomicString(sourceAttributeValue()); | 92 return attribute.name() == AtomicString(sourceAttributeValue()); |
| 93 } | 93 } |
| 94 | 94 |
| 95 void SVGScriptElement::finishParsingChildren() | 95 void SVGScriptElement::finishParsingChildren() |
| 96 { | 96 { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 #endif | 169 #endif |
| 170 | 170 |
| 171 DEFINE_TRACE(SVGScriptElement) | 171 DEFINE_TRACE(SVGScriptElement) |
| 172 { | 172 { |
| 173 visitor->trace(m_loader); | 173 visitor->trace(m_loader); |
| 174 SVGElement::trace(visitor); | 174 SVGElement::trace(visitor); |
| 175 SVGURIReference::trace(visitor); | 175 SVGURIReference::trace(visitor); |
| 176 } | 176 } |
| 177 | 177 |
| 178 } // namespace blink | 178 } // namespace blink |
| OLD | NEW |