OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 Base::append(passNewItem); | 158 Base::append(passNewItem); |
159 } | 159 } |
160 | 160 |
161 void updateListFromByteStream(); | 161 void updateListFromByteStream(); |
162 void invalidateList(); | 162 void invalidateList(); |
163 | 163 |
164 // FIXME: This pointer should be removed after SVGPathSeg has a tear-off. | 164 // FIXME: This pointer should be removed after SVGPathSeg has a tear-off. |
165 // | 165 // |
166 // SVGPathSegList is either owned by SVGAnimatedPath or SVGPathSegListTearOf
f. | 166 // SVGPathSegList is either owned by SVGAnimatedPath or SVGPathSegListTearOf
f. |
167 // Both keep |contextElement| alive, so this ptr is always valid. | 167 // Both keep |contextElement| alive, so this ptr is always valid. |
168 RawPtrWillBeMember<SVGPathElement> m_contextElement; | 168 GC_PLUGIN_IGNORE("528275") |
| 169 SVGPathElement* m_contextElement; |
169 | 170 |
170 mutable OwnPtr<SVGPathByteStream> m_byteStream; | 171 mutable OwnPtr<SVGPathByteStream> m_byteStream; |
171 bool m_listSyncedToByteStream; | 172 bool m_listSyncedToByteStream; |
172 }; | 173 }; |
173 | 174 |
174 inline PassRefPtrWillBeRawPtr<SVGPathSegList> toSVGPathSegList(PassRefPtrWillBeR
awPtr<SVGPropertyBase> passBase) | 175 inline PassRefPtrWillBeRawPtr<SVGPathSegList> toSVGPathSegList(PassRefPtrWillBeR
awPtr<SVGPropertyBase> passBase) |
175 { | 176 { |
176 RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase; | 177 RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase; |
177 ASSERT(base->type() == SVGPathSegList::classType()); | 178 ASSERT(base->type() == SVGPathSegList::classType()); |
178 return static_pointer_cast<SVGPathSegList>(base.release()); | 179 return static_pointer_cast<SVGPathSegList>(base.release()); |
179 } | 180 } |
180 | 181 |
181 } // namespace blink | 182 } // namespace blink |
182 | 183 |
183 #endif | 184 #endif |
OLD | NEW |