| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2006 Apple Inc. All rights reserved. | 4 * Copyright (C) 2006 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 5 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "Document.h" | 30 #include "Document.h" |
| 31 #include "ExceptionCode.h" | 31 #include "ExceptionCode.h" |
| 32 #include "SVGNames.h" | 32 #include "SVGNames.h" |
| 33 #include <wtf/StdLibExtras.h> | 33 #include <wtf/StdLibExtras.h> |
| 34 | 34 |
| 35 namespace WebCore { | 35 namespace WebCore { |
| 36 | 36 |
| 37 inline SVGStyleElement::SVGStyleElement(const QualifiedName& tagName, Document*
document, bool createdByParser) | 37 inline SVGStyleElement::SVGStyleElement(const QualifiedName& tagName, Document*
document, bool createdByParser) |
| 38 : SVGElement(tagName, document) | 38 : SVGElement(tagName, document) |
| 39 , StyleElement(document, createdByParser) | 39 , StyleElement(document, createdByParser) |
| 40 , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired) |
| 40 { | 41 { |
| 41 ASSERT(hasTagName(SVGNames::styleTag)); | 42 ASSERT(hasTagName(SVGNames::styleTag)); |
| 42 } | 43 } |
| 43 | 44 |
| 44 SVGStyleElement::~SVGStyleElement() | 45 SVGStyleElement::~SVGStyleElement() |
| 45 { | 46 { |
| 46 StyleElement::clearDocumentData(document(), this); | 47 StyleElement::clearDocumentData(document(), this); |
| 47 } | 48 } |
| 48 | 49 |
| 49 PassRefPtr<SVGStyleElement> SVGStyleElement::create(const QualifiedName& tagName
, Document* document, bool createdByParser) | 50 PassRefPtr<SVGStyleElement> SVGStyleElement::create(const QualifiedName& tagName
, Document* document, bool createdByParser) |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 152 |
| 152 void SVGStyleElement::childrenChanged(bool changedByParser, Node* beforeChange,
Node* afterChange, int childCountDelta) | 153 void SVGStyleElement::childrenChanged(bool changedByParser, Node* beforeChange,
Node* afterChange, int childCountDelta) |
| 153 { | 154 { |
| 154 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); | 155 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); |
| 155 StyleElement::childrenChanged(this); | 156 StyleElement::childrenChanged(this); |
| 156 } | 157 } |
| 157 | 158 |
| 158 } | 159 } |
| 159 | 160 |
| 160 #endif // ENABLE(SVG) | 161 #endif // ENABLE(SVG) |
| OLD | NEW |