| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
| 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 rareData->setCursorImageValue(cursorImageValue); | 530 rareData->setCursorImageValue(cursorImageValue); |
| 531 } | 531 } |
| 532 | 532 |
| 533 #if !ENABLE(OILPAN) | 533 #if !ENABLE(OILPAN) |
| 534 void SVGElement::cursorImageValueRemoved() | 534 void SVGElement::cursorImageValueRemoved() |
| 535 { | 535 { |
| 536 svgRareData()->setCursorImageValue(0); | 536 svgRareData()->setCursorImageValue(0); |
| 537 } | 537 } |
| 538 #endif | 538 #endif |
| 539 | 539 |
| 540 SVGElement* SVGElement::correspondingElement() | 540 SVGElement* SVGElement::correspondingElement() const |
| 541 { | 541 { |
| 542 ASSERT(!hasSVGRareData() || !svgRareData()->correspondingElement() || contai
ningShadowRoot()); | 542 ASSERT(!hasSVGRareData() || !svgRareData()->correspondingElement() || contai
ningShadowRoot()); |
| 543 return hasSVGRareData() ? svgRareData()->correspondingElement() : 0; | 543 return hasSVGRareData() ? svgRareData()->correspondingElement() : 0; |
| 544 } | 544 } |
| 545 | 545 |
| 546 SVGUseElement* SVGElement::correspondingUseElement() const | 546 SVGUseElement* SVGElement::correspondingUseElement() const |
| 547 { | 547 { |
| 548 if (ShadowRoot* root = containingShadowRoot()) { | 548 if (ShadowRoot* root = containingShadowRoot()) { |
| 549 if (isSVGUseElement(root->host()) && (root->type() == ShadowRootType::Us
erAgent)) | 549 if (isSVGUseElement(root->host()) && (root->type() == ShadowRootType::Us
erAgent)) |
| 550 return toSVGUseElement(root->host()); | 550 return toSVGUseElement(root->host()); |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1154 Element::trace(visitor); | 1154 Element::trace(visitor); |
| 1155 } | 1155 } |
| 1156 | 1156 |
| 1157 const AtomicString& SVGElement::eventParameterName() | 1157 const AtomicString& SVGElement::eventParameterName() |
| 1158 { | 1158 { |
| 1159 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con
structFromLiteral)); | 1159 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con
structFromLiteral)); |
| 1160 return evtString; | 1160 return evtString; |
| 1161 } | 1161 } |
| 1162 | 1162 |
| 1163 } // namespace blink | 1163 } // namespace blink |
| OLD | NEW |