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

Side by Side Diff: Source/core/svg/SVGFilterElement.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 5 * Copyright (C) 2009 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 reportAttributeParsingError(parseError, name, value); 118 reportAttributeParsingError(parseError, name, value);
119 } 119 }
120 120
121 void SVGFilterElement::svgAttributeChanged(const QualifiedName& attrName) 121 void SVGFilterElement::svgAttributeChanged(const QualifiedName& attrName)
122 { 122 {
123 if (!isSupportedAttribute(attrName)) { 123 if (!isSupportedAttribute(attrName)) {
124 SVGElement::svgAttributeChanged(attrName); 124 SVGElement::svgAttributeChanged(attrName);
125 return; 125 return;
126 } 126 }
127 127
128 SVGElementInstance::InvalidationGuard invalidationGuard(this); 128 SVGElement::InvalidationGuard invalidationGuard(this);
129 129
130 if (attrName == SVGNames::xAttr 130 if (attrName == SVGNames::xAttr
131 || attrName == SVGNames::yAttr 131 || attrName == SVGNames::yAttr
132 || attrName == SVGNames::widthAttr 132 || attrName == SVGNames::widthAttr
133 || attrName == SVGNames::heightAttr) 133 || attrName == SVGNames::heightAttr)
134 updateRelativeLengthsInformation(); 134 updateRelativeLengthsInformation();
135 135
136 RenderSVGResourceContainer* renderer = toRenderSVGResourceContainer(this->re nderer()); 136 RenderSVGResourceContainer* renderer = toRenderSVGResourceContainer(this->re nderer());
137 if (renderer) 137 if (renderer)
138 renderer->invalidateCacheAndMarkForLayout(); 138 renderer->invalidateCacheAndMarkForLayout();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 m_clientsToAdd.add(client); 175 m_clientsToAdd.add(client);
176 } 176 }
177 177
178 void SVGFilterElement::removeClient(Node* client) 178 void SVGFilterElement::removeClient(Node* client)
179 { 179 {
180 ASSERT(client); 180 ASSERT(client);
181 m_clientsToAdd.remove(client); 181 m_clientsToAdd.remove(client);
182 } 182 }
183 183
184 } 184 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFETurbulenceElement.cpp ('k') | Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698