OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 13 matching lines...) Expand all Loading... |
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF | 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #include "config.h" | 30 #include "config.h" |
31 | 31 |
32 #include "core/rendering/RenderLayerFilterInfo.h" | 32 #include "core/rendering/RenderLayerFilterInfo.h" |
33 | 33 |
34 #include "core/fetch/DocumentResource.h" | |
35 #include "core/fetch/DocumentResourceReference.h" | 34 #include "core/fetch/DocumentResourceReference.h" |
36 #include "core/platform/graphics/filters/custom/CustomFilterOperation.h" | 35 #include "core/platform/graphics/filters/custom/CustomFilterOperation.h" |
37 #include "core/platform/graphics/filters/custom/CustomFilterProgram.h" | 36 #include "core/platform/graphics/filters/custom/CustomFilterProgram.h" |
38 #include "core/rendering/FilterEffectRenderer.h" | 37 #include "core/rendering/FilterEffectRenderer.h" |
39 #include "core/rendering/RenderLayer.h" | 38 #include "core/rendering/RenderLayer.h" |
40 #include "core/rendering/svg/ReferenceFilterBuilder.h" | 39 #include "core/rendering/svg/ReferenceFilterBuilder.h" |
41 #include "core/rendering/svg/RenderSVGResourceContainer.h" | 40 #include "core/rendering/svg/RenderSVGResourceContainer.h" |
42 #include "core/svg/SVGFilterElement.h" | 41 #include "core/svg/SVGFilterElement.h" |
43 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" | 42 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" |
44 #include "core/svg/graphics/filters/SVGFilter.h" | 43 #include "core/svg/graphics/filters/SVGFilter.h" |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 185 |
187 void RenderLayerFilterInfo::removeCustomFilterClients() | 186 void RenderLayerFilterInfo::removeCustomFilterClients() |
188 { | 187 { |
189 for (size_t i = 0; i < m_cachedCustomFilterPrograms.size(); ++i) | 188 for (size_t i = 0; i < m_cachedCustomFilterPrograms.size(); ++i) |
190 m_cachedCustomFilterPrograms.at(i)->removeClient(this); | 189 m_cachedCustomFilterPrograms.at(i)->removeClient(this); |
191 m_cachedCustomFilterPrograms.clear(); | 190 m_cachedCustomFilterPrograms.clear(); |
192 } | 191 } |
193 | 192 |
194 } // namespace WebCore | 193 } // namespace WebCore |
195 | 194 |
OLD | NEW |