| 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, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. |
| 5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. |
| 6 * Copyright (C) 2012 University of Szeged | 6 * Copyright (C) 2012 University of Szeged |
| 7 * Copyright (C) 2012 Renata Hodovan <reni@webkit.org> | 7 * Copyright (C) 2012 Renata Hodovan <reni@webkit.org> |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 | 431 |
| 432 m_targetElementInstance = toSVGElement(shadowTreeRootElement->firstChild()); | 432 m_targetElementInstance = toSVGElement(shadowTreeRootElement->firstChild()); |
| 433 transferUseWidthAndHeightIfNeeded(*this, m_targetElementInstance.get(), *m_t
argetElementInstance->correspondingElement()); | 433 transferUseWidthAndHeightIfNeeded(*this, m_targetElementInstance.get(), *m_t
argetElementInstance->correspondingElement()); |
| 434 | 434 |
| 435 ASSERT(m_targetElementInstance->parentNode() == shadowTreeRootElement); | 435 ASSERT(m_targetElementInstance->parentNode() == shadowTreeRootElement); |
| 436 | 436 |
| 437 // Update relative length information. | 437 // Update relative length information. |
| 438 updateRelativeLengthsInformation(); | 438 updateRelativeLengthsInformation(); |
| 439 } | 439 } |
| 440 | 440 |
| 441 LayoutObject* SVGUseElement::createLayoutObject(const LayoutStyle&) | 441 LayoutObject* SVGUseElement::createLayoutObject(const ComputedStyle&) |
| 442 { | 442 { |
| 443 return new LayoutSVGTransformableContainer(this); | 443 return new LayoutSVGTransformableContainer(this); |
| 444 } | 444 } |
| 445 | 445 |
| 446 static bool isDirectReference(const SVGElement& element) | 446 static bool isDirectReference(const SVGElement& element) |
| 447 { | 447 { |
| 448 return isSVGPathElement(element) | 448 return isSVGPathElement(element) |
| 449 || isSVGRectElement(element) | 449 || isSVGRectElement(element) |
| 450 || isSVGCircleElement(element) | 450 || isSVGCircleElement(element) |
| 451 || isSVGEllipseElement(element) | 451 || isSVGEllipseElement(element) |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 | 781 |
| 782 if (m_resource) | 782 if (m_resource) |
| 783 m_resource->removeClient(this); | 783 m_resource->removeClient(this); |
| 784 | 784 |
| 785 m_resource = resource; | 785 m_resource = resource; |
| 786 if (m_resource) | 786 if (m_resource) |
| 787 m_resource->addClient(this); | 787 m_resource->addClient(this); |
| 788 } | 788 } |
| 789 | 789 |
| 790 } | 790 } |
| OLD | NEW |