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

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

Issue 1118133003: Rename rendering in core/svg. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/SVGPathElement.cpp ('k') | Source/core/svg/SVGPolyElement.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 2010. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 || attrName == SVGNames::patternContentUnitsAttr 81 || attrName == SVGNames::patternContentUnitsAttr
82 || attrName == SVGNames::patternTransformAttr 82 || attrName == SVGNames::patternTransformAttr
83 || SVGFitToViewBox::isKnownAttribute(attrName) 83 || SVGFitToViewBox::isKnownAttribute(attrName)
84 || SVGURIReference::isKnownAttribute(attrName) 84 || SVGURIReference::isKnownAttribute(attrName)
85 || SVGTests::isKnownAttribute(attrName)) { 85 || SVGTests::isKnownAttribute(attrName)) {
86 SVGElement::InvalidationGuard invalidationGuard(this); 86 SVGElement::InvalidationGuard invalidationGuard(this);
87 87
88 if (isLengthAttr) 88 if (isLengthAttr)
89 updateRelativeLengthsInformation(); 89 updateRelativeLengthsInformation();
90 90
91 LayoutSVGResourceContainer* renderer = toLayoutSVGResourceContainer(this ->layoutObject()); 91 LayoutSVGResourceContainer* layoutObject = toLayoutSVGResourceContainer( this->layoutObject());
92 if (renderer) 92 if (layoutObject)
93 renderer->invalidateCacheAndMarkForLayout(); 93 layoutObject->invalidateCacheAndMarkForLayout();
94 94
95 return; 95 return;
96 } 96 }
97 97
98 SVGElement::svgAttributeChanged(attrName); 98 SVGElement::svgAttributeChanged(attrName);
99 } 99 }
100 100
101 void SVGPatternElement::childrenChanged(const ChildrenChange& change) 101 void SVGPatternElement::childrenChanged(const ChildrenChange& change)
102 { 102 {
103 SVGElement::childrenChanged(change); 103 SVGElement::childrenChanged(change);
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 183
184 bool SVGPatternElement::selfHasRelativeLengths() const 184 bool SVGPatternElement::selfHasRelativeLengths() const
185 { 185 {
186 return m_x->currentValue()->isRelative() 186 return m_x->currentValue()->isRelative()
187 || m_y->currentValue()->isRelative() 187 || m_y->currentValue()->isRelative()
188 || m_width->currentValue()->isRelative() 188 || m_width->currentValue()->isRelative()
189 || m_height->currentValue()->isRelative(); 189 || m_height->currentValue()->isRelative();
190 } 190 }
191 191
192 } // namespace blink 192 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/svg/SVGPathElement.cpp ('k') | Source/core/svg/SVGPolyElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698