| 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, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
| 6 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> | 6 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 ScriptLoader::~ScriptLoader() | 79 ScriptLoader::~ScriptLoader() |
| 80 { | 80 { |
| 81 } | 81 } |
| 82 | 82 |
| 83 DEFINE_TRACE(ScriptLoader) | 83 DEFINE_TRACE(ScriptLoader) |
| 84 { | 84 { |
| 85 visitor->trace(m_element); | 85 visitor->trace(m_element); |
| 86 visitor->trace(m_resource); | 86 visitor->trace(m_resource); |
| 87 visitor->trace(m_pendingScript); | 87 visitor->trace(m_pendingScript); |
| 88 ScriptResourceClient::trace(visitor); |
| 88 } | 89 } |
| 89 | 90 |
| 90 void ScriptLoader::didNotifySubtreeInsertionsToDocument() | 91 void ScriptLoader::didNotifySubtreeInsertionsToDocument() |
| 91 { | 92 { |
| 92 if (!m_parserInserted) | 93 if (!m_parserInserted) |
| 93 prepareScript(); // FIXME: Provide a real starting line number here. | 94 prepareScript(); // FIXME: Provide a real starting line number here. |
| 94 } | 95 } |
| 95 | 96 |
| 96 void ScriptLoader::childrenChanged() | 97 void ScriptLoader::childrenChanged() |
| 97 { | 98 { |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 if (isHTMLScriptLoader(element)) | 523 if (isHTMLScriptLoader(element)) |
| 523 return toHTMLScriptElement(element)->loader(); | 524 return toHTMLScriptElement(element)->loader(); |
| 524 | 525 |
| 525 if (isSVGScriptLoader(element)) | 526 if (isSVGScriptLoader(element)) |
| 526 return toSVGScriptElement(element)->loader(); | 527 return toSVGScriptElement(element)->loader(); |
| 527 | 528 |
| 528 return 0; | 529 return 0; |
| 529 } | 530 } |
| 530 | 531 |
| 531 } // namespace blink | 532 } // namespace blink |
| OLD | NEW |