| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Alex Mathews <possessedpenguinbob@gmail.com> | 2 * Copyright (C) 2008 Alex Mathews <possessedpenguinbob@gmail.com> |
| 3 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 3 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 } | 59 } |
| 60 | 60 |
| 61 // Required to change the attributes of a filter during an svgAttributeChang
ed. | 61 // Required to change the attributes of a filter during an svgAttributeChang
ed. |
| 62 inline FilterEffect* effectByRenderer(LayoutObject* object) { return m_effec
tRenderer.get(object); } | 62 inline FilterEffect* effectByRenderer(LayoutObject* object) { return m_effec
tRenderer.get(object); } |
| 63 | 63 |
| 64 void invalidateDependentEffects(FilterEffect*); | 64 void invalidateDependentEffects(FilterEffect*); |
| 65 | 65 |
| 66 DECLARE_TRACE(); | 66 DECLARE_TRACE(); |
| 67 | 67 |
| 68 private: | 68 private: |
| 69 SVGFilterGraphNodeMap() = default; | 69 SVGFilterGraphNodeMap(); |
| 70 | 70 |
| 71 // The value is a list, which contains those filter effects, | 71 // The value is a list, which contains those filter effects, |
| 72 // which depends on the key filter effect. | 72 // which depends on the key filter effect. |
| 73 HeapHashMap<Member<FilterEffect>, FilterEffectSet> m_effectReferences; | 73 HeapHashMap<Member<FilterEffect>, FilterEffectSet> m_effectReferences; |
| 74 HeapHashMap<LayoutObject*, Member<FilterEffect>> m_effectRenderer; | 74 HeapHashMap<LayoutObject*, Member<FilterEffect>> m_effectRenderer; |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 class SVGFilterBuilder { | 77 class SVGFilterBuilder { |
| 78 STACK_ALLOCATED(); | 78 STACK_ALLOCATED(); |
| 79 public: | 79 public: |
| (...skipping 17 matching lines...) Expand all Loading... |
| 97 NamedFilterEffectMap m_builtinEffects; | 97 NamedFilterEffectMap m_builtinEffects; |
| 98 NamedFilterEffectMap m_namedEffects; | 98 NamedFilterEffectMap m_namedEffects; |
| 99 | 99 |
| 100 Member<FilterEffect> m_lastEffect; | 100 Member<FilterEffect> m_lastEffect; |
| 101 Member<SVGFilterGraphNodeMap> m_nodeMap; | 101 Member<SVGFilterGraphNodeMap> m_nodeMap; |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 } // namespace blink | 104 } // namespace blink |
| 105 | 105 |
| 106 #endif // SVGFilterBuilder_h | 106 #endif // SVGFilterBuilder_h |
| OLD | NEW |