| 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 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 SVGStyleElement::~SVGStyleElement() | 39 SVGStyleElement::~SVGStyleElement() |
| 40 { | 40 { |
| 41 #if !ENABLE(OILPAN) | 41 #if !ENABLE(OILPAN) |
| 42 StyleElement::clearDocumentData(document(), this); | 42 StyleElement::clearDocumentData(document(), this); |
| 43 #endif | 43 #endif |
| 44 } | 44 } |
| 45 | 45 |
| 46 PassRefPtrWillBeRawPtr<SVGStyleElement> SVGStyleElement::create(Document& docume
nt, bool createdByParser) | 46 PassRefPtrWillBeRawPtr<SVGStyleElement> SVGStyleElement::create(Document& docume
nt, bool createdByParser) |
| 47 { | 47 { |
| 48 return adoptRefWillBeRefCountedGarbageCollected(new SVGStyleElement(document
, createdByParser)); | 48 return adoptRefWillBeNoop(new SVGStyleElement(document, createdByParser)); |
| 49 } | 49 } |
| 50 | 50 |
| 51 bool SVGStyleElement::disabled() const | 51 bool SVGStyleElement::disabled() const |
| 52 { | 52 { |
| 53 if (!m_sheet) | 53 if (!m_sheet) |
| 54 return false; | 54 return false; |
| 55 | 55 |
| 56 return m_sheet->disabled(); | 56 return m_sheet->disabled(); |
| 57 } | 57 } |
| 58 | 58 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 StyleElement::childrenChanged(this); | 150 StyleElement::childrenChanged(this); |
| 151 } | 151 } |
| 152 | 152 |
| 153 void SVGStyleElement::trace(Visitor* visitor) | 153 void SVGStyleElement::trace(Visitor* visitor) |
| 154 { | 154 { |
| 155 StyleElement::trace(visitor); | 155 StyleElement::trace(visitor); |
| 156 SVGElement::trace(visitor); | 156 SVGElement::trace(visitor); |
| 157 } | 157 } |
| 158 | 158 |
| 159 } | 159 } |
| OLD | NEW |