| 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 15 matching lines...) Expand all Loading... |
| 26 #include "core/css/CSSStyleSheet.h" | 26 #include "core/css/CSSStyleSheet.h" |
| 27 #include "wtf/StdLibExtras.h" | 27 #include "wtf/StdLibExtras.h" |
| 28 | 28 |
| 29 namespace blink { | 29 namespace blink { |
| 30 | 30 |
| 31 inline SVGStyleElement::SVGStyleElement(Document& document, bool createdByParser
) | 31 inline SVGStyleElement::SVGStyleElement(Document& document, bool createdByParser
) |
| 32 : SVGElement(SVGNames::styleTag, document) | 32 : SVGElement(SVGNames::styleTag, document) |
| 33 , StyleElement(&document, createdByParser) | 33 , StyleElement(&document, createdByParser) |
| 34 , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired) | 34 , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired) |
| 35 { | 35 { |
| 36 ScriptWrappable::init(this); | |
| 37 } | 36 } |
| 38 | 37 |
| 39 SVGStyleElement::~SVGStyleElement() | 38 SVGStyleElement::~SVGStyleElement() |
| 40 { | 39 { |
| 41 #if !ENABLE(OILPAN) | 40 #if !ENABLE(OILPAN) |
| 42 StyleElement::clearDocumentData(document(), this); | 41 StyleElement::clearDocumentData(document(), this); |
| 43 #endif | 42 #endif |
| 44 } | 43 } |
| 45 | 44 |
| 46 PassRefPtrWillBeRawPtr<SVGStyleElement> SVGStyleElement::create(Document& docume
nt, bool createdByParser) | 45 PassRefPtrWillBeRawPtr<SVGStyleElement> SVGStyleElement::create(Document& docume
nt, bool createdByParser) |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 StyleElement::childrenChanged(this); | 149 StyleElement::childrenChanged(this); |
| 151 } | 150 } |
| 152 | 151 |
| 153 void SVGStyleElement::trace(Visitor* visitor) | 152 void SVGStyleElement::trace(Visitor* visitor) |
| 154 { | 153 { |
| 155 StyleElement::trace(visitor); | 154 StyleElement::trace(visitor); |
| 156 SVGElement::trace(visitor); | 155 SVGElement::trace(visitor); |
| 157 } | 156 } |
| 158 | 157 |
| 159 } | 158 } |
| OLD | NEW |