| 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 19 matching lines...) Expand all Loading... |
| 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/loader/cache/CachedDocument.h" | 34 #include "core/loader/cache/CachedDocument.h" |
| 35 #include "core/loader/cache/CachedSVGDocumentReference.h" | 35 #include "core/loader/cache/CachedSVGDocumentReference.h" |
| 36 #include "core/platform/graphics/filters/custom/CustomFilterOperation.h" | 36 #include "core/platform/graphics/filters/custom/CustomFilterOperation.h" |
| 37 #include "core/platform/graphics/filters/custom/CustomFilterProgram.h" | 37 #include "core/platform/graphics/filters/custom/CustomFilterProgram.h" |
| 38 #include "core/rendering/FilterEffectRenderer.h" | 38 #include "core/rendering/FilterEffectRenderer.h" |
| 39 #include "core/rendering/RenderLayer.h" | 39 #include "core/rendering/RenderLayer.h" |
| 40 #include "core/rendering/svg/RenderSVGResourceContainer.h" |
| 40 #include "core/svg/SVGElement.h" | 41 #include "core/svg/SVGElement.h" |
| 41 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" | 42 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" |
| 42 #include "core/svg/graphics/filters/SVGFilter.h" | 43 #include "core/svg/graphics/filters/SVGFilter.h" |
| 43 | 44 |
| 44 namespace WebCore { | 45 namespace WebCore { |
| 45 | 46 |
| 46 RenderLayerFilterInfoMap* RenderLayerFilterInfo::s_filterMap = 0; | 47 RenderLayerFilterInfoMap* RenderLayerFilterInfo::s_filterMap = 0; |
| 47 | 48 |
| 48 RenderLayerFilterInfo* RenderLayerFilterInfo::filterInfoForRenderLayer(const Ren
derLayer* layer) | 49 RenderLayerFilterInfo* RenderLayerFilterInfo::filterInfoForRenderLayer(const Ren
derLayer* layer) |
| 49 { | 50 { |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 182 |
| 182 void RenderLayerFilterInfo::removeCustomFilterClients() | 183 void RenderLayerFilterInfo::removeCustomFilterClients() |
| 183 { | 184 { |
| 184 for (size_t i = 0; i < m_cachedCustomFilterPrograms.size(); ++i) | 185 for (size_t i = 0; i < m_cachedCustomFilterPrograms.size(); ++i) |
| 185 m_cachedCustomFilterPrograms.at(i)->removeClient(this); | 186 m_cachedCustomFilterPrograms.at(i)->removeClient(this); |
| 186 m_cachedCustomFilterPrograms.clear(); | 187 m_cachedCustomFilterPrograms.clear(); |
| 187 } | 188 } |
| 188 | 189 |
| 189 } // namespace WebCore | 190 } // namespace WebCore |
| 190 | 191 |
| OLD | NEW |