Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(803)

Side by Side Diff: Source/core/svg/SVGUseElement.cpp

Issue 211773002: Rename updateStyle to updateRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tracing test Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGElementInstance.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 clearResourceReferences(); 87 clearResourceReferences();
88 } 88 }
89 89
90 SVGElementInstance* SVGUseElement::instanceRoot() 90 SVGElementInstance* SVGUseElement::instanceRoot()
91 { 91 {
92 // If there is no element instance tree, force immediate SVGElementInstance tree 92 // If there is no element instance tree, force immediate SVGElementInstance tree
93 // creation by asking the document to invoke our recalcStyle function - as w e can't 93 // creation by asking the document to invoke our recalcStyle function - as w e can't
94 // wait for the lazy creation to happen if e.g. JS wants to access the insta nceRoot 94 // wait for the lazy creation to happen if e.g. JS wants to access the insta nceRoot
95 // object right after creating the element on-the-fly 95 // object right after creating the element on-the-fly
96 if (!m_targetElementInstance) 96 if (!m_targetElementInstance)
97 document().updateStyleIfNeeded(); 97 document().updateRenderTreeIfNeeded();
98 98
99 return m_targetElementInstance.get(); 99 return m_targetElementInstance.get();
100 } 100 }
101 101
102 SVGElementInstance* SVGUseElement::animatedInstanceRoot() const 102 SVGElementInstance* SVGUseElement::animatedInstanceRoot() const
103 { 103 {
104 // FIXME: Implement me. 104 // FIXME: Implement me.
105 return 0; 105 return 0;
106 } 106 }
107 107
(...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 963
964 if (m_resource) 964 if (m_resource)
965 m_resource->removeClient(this); 965 m_resource->removeClient(this);
966 966
967 m_resource = resource; 967 m_resource = resource;
968 if (m_resource) 968 if (m_resource)
969 m_resource->addClient(this); 969 m_resource->addClient(this);
970 } 970 }
971 971
972 } 972 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGElementInstance.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698