OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "core/svg/SVGElementRareData.h" | 6 #include "core/svg/SVGElementRareData.h" |
7 | 7 |
8 #include "core/css/CSSCursorImageValue.h" | 8 #include "core/css/CSSCursorImageValue.h" |
9 | 9 |
10 namespace WebCore { | 10 namespace WebCore { |
(...skipping 15 matching lines...) Expand all Loading... |
26 m_overrideComputedStyle = element->document().ensureStyleResolver().styl
eForElement(element, parentStyle, DisallowStyleSharing, MatchAllRulesExcludingSM
IL); | 26 m_overrideComputedStyle = element->document().ensureStyleResolver().styl
eForElement(element, parentStyle, DisallowStyleSharing, MatchAllRulesExcludingSM
IL); |
27 m_needsOverrideComputedStyleUpdate = false; | 27 m_needsOverrideComputedStyleUpdate = false; |
28 } | 28 } |
29 ASSERT(m_overrideComputedStyle); | 29 ASSERT(m_overrideComputedStyle); |
30 return m_overrideComputedStyle.get(); | 30 return m_overrideComputedStyle.get(); |
31 } | 31 } |
32 | 32 |
33 void SVGElementRareData::trace(Visitor* visitor) | 33 void SVGElementRareData::trace(Visitor* visitor) |
34 { | 34 { |
35 #if ENABLE(OILPAN) | 35 #if ENABLE(OILPAN) |
36 visitor->trace(m_referencingElements); | 36 visitor->trace(m_outgoingReferences); |
37 visitor->trace(m_referencedElements); | 37 visitor->trace(m_incomingReferences); |
38 visitor->trace(m_animatedSMILStyleProperties); | 38 visitor->trace(m_animatedSMILStyleProperties); |
39 visitor->trace(m_elementInstances); | 39 visitor->trace(m_elementInstances); |
40 visitor->trace(m_correspondingElement); | 40 visitor->trace(m_correspondingElement); |
41 visitor->trace(m_owner); | 41 visitor->trace(m_owner); |
42 visitor->registerWeakMembers<SVGElementRareData, &SVGElementRareData::proces
sWeakMembers>(this); | 42 visitor->registerWeakMembers<SVGElementRareData, &SVGElementRareData::proces
sWeakMembers>(this); |
43 #endif | 43 #endif |
44 } | 44 } |
45 | 45 |
46 void SVGElementRareData::processWeakMembers(Visitor* visitor) | 46 void SVGElementRareData::processWeakMembers(Visitor* visitor) |
47 { | 47 { |
(...skipping 11 matching lines...) Expand all Loading... |
59 } | 59 } |
60 m_cursorImageValue = nullptr; | 60 m_cursorImageValue = nullptr; |
61 } | 61 } |
62 ASSERT(!m_cursorElement || visitor->isAlive(m_cursorElement)); | 62 ASSERT(!m_cursorElement || visitor->isAlive(m_cursorElement)); |
63 ASSERT(!m_cursorImageValue || visitor->isAlive(m_cursorImageValue)); | 63 ASSERT(!m_cursorImageValue || visitor->isAlive(m_cursorImageValue)); |
64 #endif | 64 #endif |
65 } | 65 } |
66 | 66 |
67 | 67 |
68 } | 68 } |
OLD | NEW |