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

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

Issue 268223003: Move InvalidationGuard/InstanceUpdateBlocker out of SVGElementInstance (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Perform the renames Created 6 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
« no previous file with comments | « Source/core/svg/SVGPolyElement.cpp ('k') | Source/core/svg/SVGRectElement.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, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 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) 2008 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> 5 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org>
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 reportAttributeParsingError(parseError, name, value); 102 reportAttributeParsingError(parseError, name, value);
103 } 103 }
104 104
105 void SVGRadialGradientElement::svgAttributeChanged(const QualifiedName& attrName ) 105 void SVGRadialGradientElement::svgAttributeChanged(const QualifiedName& attrName )
106 { 106 {
107 if (!isSupportedAttribute(attrName)) { 107 if (!isSupportedAttribute(attrName)) {
108 SVGGradientElement::svgAttributeChanged(attrName); 108 SVGGradientElement::svgAttributeChanged(attrName);
109 return; 109 return;
110 } 110 }
111 111
112 SVGElementInstance::InvalidationGuard invalidationGuard(this); 112 SVGElement::InvalidationGuard invalidationGuard(this);
113 113
114 updateRelativeLengthsInformation(); 114 updateRelativeLengthsInformation();
115 115
116 RenderSVGResourceContainer* renderer = toRenderSVGResourceContainer(this->re nderer()); 116 RenderSVGResourceContainer* renderer = toRenderSVGResourceContainer(this->re nderer());
117 if (renderer) 117 if (renderer)
118 renderer->invalidateCacheAndMarkForLayout(); 118 renderer->invalidateCacheAndMarkForLayout();
119 } 119 }
120 120
121 RenderObject* SVGRadialGradientElement::createRenderer(RenderStyle*) 121 RenderObject* SVGRadialGradientElement::createRenderer(RenderStyle*)
122 { 122 {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 { 211 {
212 return m_cx->currentValue()->isRelative() 212 return m_cx->currentValue()->isRelative()
213 || m_cy->currentValue()->isRelative() 213 || m_cy->currentValue()->isRelative()
214 || m_r->currentValue()->isRelative() 214 || m_r->currentValue()->isRelative()
215 || m_fx->currentValue()->isRelative() 215 || m_fx->currentValue()->isRelative()
216 || m_fy->currentValue()->isRelative() 216 || m_fy->currentValue()->isRelative()
217 || m_fr->currentValue()->isRelative(); 217 || m_fr->currentValue()->isRelative();
218 } 218 }
219 219
220 } 220 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGPolyElement.cpp ('k') | Source/core/svg/SVGRectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698