OLD | NEW |
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 } | 122 } |
123 | 123 |
124 void SVGFilterElement::childrenChanged(const ChildrenChange& change) | 124 void SVGFilterElement::childrenChanged(const ChildrenChange& change) |
125 { | 125 { |
126 SVGElement::childrenChanged(change); | 126 SVGElement::childrenChanged(change); |
127 | 127 |
128 if (change.byParser) | 128 if (change.byParser) |
129 return; | 129 return; |
130 | 130 |
131 if (LayoutObject* object = layoutObject()) | 131 if (LayoutObject* object = layoutObject()) |
132 object->setNeedsLayoutAndFullPaintInvalidation(); | 132 object->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason:
:ChildChanged); |
133 } | 133 } |
134 | 134 |
135 LayoutObject* SVGFilterElement::createLayoutObject(const ComputedStyle&) | 135 LayoutObject* SVGFilterElement::createLayoutObject(const ComputedStyle&) |
136 { | 136 { |
137 LayoutSVGResourceFilter* renderer = new LayoutSVGResourceFilter(this); | 137 LayoutSVGResourceFilter* renderer = new LayoutSVGResourceFilter(this); |
138 | 138 |
139 for (const RefPtrWillBeMember<Node>& node : m_clientsToAdd) | 139 for (const RefPtrWillBeMember<Node>& node : m_clientsToAdd) |
140 renderer->addClientLayer(node.get()); | 140 renderer->addClientLayer(node.get()); |
141 m_clientsToAdd.clear(); | 141 m_clientsToAdd.clear(); |
142 | 142 |
(...skipping 14 matching lines...) Expand all Loading... |
157 m_clientsToAdd.add(client); | 157 m_clientsToAdd.add(client); |
158 } | 158 } |
159 | 159 |
160 void SVGFilterElement::removeClient(Node* client) | 160 void SVGFilterElement::removeClient(Node* client) |
161 { | 161 { |
162 ASSERT(client); | 162 ASSERT(client); |
163 m_clientsToAdd.remove(client); | 163 m_clientsToAdd.remove(client); |
164 } | 164 } |
165 | 165 |
166 } // namespace blink | 166 } // namespace blink |
OLD | NEW |