OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // Chainable resources - linked through xlink:href | 86 // Chainable resources - linked through xlink:href |
87 LayoutSVGResourceContainer* linkedResource() const { | 87 LayoutSVGResourceContainer* linkedResource() const { |
88 return m_linkedResource; | 88 return m_linkedResource; |
89 } | 89 } |
90 | 90 |
91 void buildSetOfResources(HashSet<LayoutSVGResourceContainer*>&); | 91 void buildSetOfResources(HashSet<LayoutSVGResourceContainer*>&); |
92 | 92 |
93 // Methods operating on all cached resources | 93 // Methods operating on all cached resources |
94 void removeClientFromCache(LayoutObject*, | 94 void removeClientFromCache(LayoutObject*, |
95 bool markForInvalidation = true) const; | 95 bool markForInvalidation = true) const; |
| 96 void removeClientFromCacheAffectingObjectBounds( |
| 97 LayoutObject*, |
| 98 bool markForInvalidation = true) const; |
96 void resourceDestroyed(LayoutSVGResourceContainer*); | 99 void resourceDestroyed(LayoutSVGResourceContainer*); |
97 | 100 |
98 #ifndef NDEBUG | 101 #ifndef NDEBUG |
99 void dump(const LayoutObject*); | 102 void dump(const LayoutObject*); |
100 #endif | 103 #endif |
101 | 104 |
102 private: | 105 private: |
103 friend class SVGResourcesCycleSolver; | 106 friend class SVGResourcesCycleSolver; |
104 | 107 |
105 bool hasResourceData() const; | 108 bool hasResourceData() const; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 190 |
188 std::unique_ptr<ClipperFilterMaskerData> m_clipperFilterMaskerData; | 191 std::unique_ptr<ClipperFilterMaskerData> m_clipperFilterMaskerData; |
189 std::unique_ptr<MarkerData> m_markerData; | 192 std::unique_ptr<MarkerData> m_markerData; |
190 std::unique_ptr<FillStrokeData> m_fillStrokeData; | 193 std::unique_ptr<FillStrokeData> m_fillStrokeData; |
191 LayoutSVGResourceContainer* m_linkedResource; | 194 LayoutSVGResourceContainer* m_linkedResource; |
192 }; | 195 }; |
193 | 196 |
194 } // namespace blink | 197 } // namespace blink |
195 | 198 |
196 #endif | 199 #endif |
OLD | NEW |