| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> | 3 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 4 * Copyright (C) 2007 Rob Buis <buis@kde.org> | 4 * Copyright (C) 2007 Rob Buis <buis@kde.org> |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 #include "core/dom/Document.h" | 24 #include "core/dom/Document.h" |
| 25 #include "core/inspector/ConsoleMessage.h" | 25 #include "core/inspector/ConsoleMessage.h" |
| 26 #include "core/svg/SVGSVGElement.h" | 26 #include "core/svg/SVGSVGElement.h" |
| 27 #include "core/svg/animation/SMILTimeContainer.h" | 27 #include "core/svg/animation/SMILTimeContainer.h" |
| 28 #include "wtf/AutoReset.h" | 28 #include "wtf/AutoReset.h" |
| 29 | 29 |
| 30 namespace blink { | 30 namespace blink { |
| 31 | 31 |
| 32 SVGDocumentExtensions::SVGDocumentExtensions(Document* document) | 32 SVGDocumentExtensions::SVGDocumentExtensions(Document* document) |
| 33 : m_document(document) | 33 : m_document(document) {} |
| 34 { | |
| 35 } | |
| 36 | 34 |
| 37 SVGDocumentExtensions::~SVGDocumentExtensions() {} | 35 SVGDocumentExtensions::~SVGDocumentExtensions() {} |
| 38 | 36 |
| 39 void SVGDocumentExtensions::addTimeContainer(SVGSVGElement* element) { | 37 void SVGDocumentExtensions::addTimeContainer(SVGSVGElement* element) { |
| 40 m_timeContainers.insert(element); | 38 m_timeContainers.insert(element); |
| 41 } | 39 } |
| 42 | 40 |
| 43 void SVGDocumentExtensions::removeTimeContainer(SVGSVGElement* element) { | 41 void SVGDocumentExtensions::removeTimeContainer(SVGSVGElement* element) { |
| 44 m_timeContainers.erase(element); | 42 m_timeContainers.erase(element); |
| 45 } | 43 } |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 } | 175 } |
| 178 | 176 |
| 179 DEFINE_TRACE(SVGDocumentExtensions) { | 177 DEFINE_TRACE(SVGDocumentExtensions) { |
| 180 visitor->trace(m_document); | 178 visitor->trace(m_document); |
| 181 visitor->trace(m_timeContainers); | 179 visitor->trace(m_timeContainers); |
| 182 visitor->trace(m_webAnimationsPendingSVGElements); | 180 visitor->trace(m_webAnimationsPendingSVGElements); |
| 183 visitor->trace(m_relativeLengthSVGRoots); | 181 visitor->trace(m_relativeLengthSVGRoots); |
| 184 } | 182 } |
| 185 | 183 |
| 186 } // namespace blink | 184 } // namespace blink |
| OLD | NEW |