| 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 252 | 252 | 
| 253     if (SVGLangSpace::isKnownAttribute(attrName) | 253     if (SVGLangSpace::isKnownAttribute(attrName) | 
| 254         || SVGExternalResourcesRequired::isKnownAttribute(attrName)) { | 254         || SVGExternalResourcesRequired::isKnownAttribute(attrName)) { | 
| 255         invalidateShadowTree(); | 255         invalidateShadowTree(); | 
| 256         return; | 256         return; | 
| 257     } | 257     } | 
| 258 | 258 | 
| 259     ASSERT_NOT_REACHED(); | 259     ASSERT_NOT_REACHED(); | 
| 260 } | 260 } | 
| 261 | 261 | 
| 262 void SVGUseElement::attach(const AttachContext& context) | 262 void SVGUseElement::createRenderTree(const AttachContext& context) | 
| 263 { | 263 { | 
| 264     if (m_needsShadowTreeRecreation) | 264     if (m_needsShadowTreeRecreation) | 
| 265         buildPendingResource(); | 265         buildPendingResource(); | 
| 266     SVGGraphicsElement::attach(context); | 266     SVGGraphicsElement::createRenderTree(context); | 
| 267 } | 267 } | 
| 268 | 268 | 
| 269 void SVGUseElement::willRecalcStyle(StyleRecalcChange) | 269 void SVGUseElement::willRecalcStyle(StyleRecalcChange) | 
| 270 { | 270 { | 
| 271     if (!m_wasInsertedByParser && m_needsShadowTreeRecreation && renderer() && n
      eedsStyleRecalc()) | 271     if (!m_wasInsertedByParser && m_needsShadowTreeRecreation && renderer() && n
      eedsStyleRecalc()) | 
| 272         buildPendingResource(); | 272         buildPendingResource(); | 
| 273 } | 273 } | 
| 274 | 274 | 
| 275 #ifdef DUMP_INSTANCE_TREE | 275 #ifdef DUMP_INSTANCE_TREE | 
| 276 static void dumpInstanceTree(unsigned int& depth, String& text, SVGElementInstan
      ce* targetInstance) | 276 static void dumpInstanceTree(unsigned int& depth, String& text, SVGElementInstan
      ce* targetInstance) | 
| (...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 992 | 992 | 
| 993     if (m_resource) | 993     if (m_resource) | 
| 994         m_resource->removeClient(this); | 994         m_resource->removeClient(this); | 
| 995 | 995 | 
| 996     m_resource = resource; | 996     m_resource = resource; | 
| 997     if (m_resource) | 997     if (m_resource) | 
| 998         m_resource->addClient(this); | 998         m_resource->addClient(this); | 
| 999 } | 999 } | 
| 1000 | 1000 | 
| 1001 } | 1001 } | 
| OLD | NEW | 
|---|