Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1288)

Side by Side Diff: Source/core/svg/SVGElementRareData.cpp

Issue 344883007: SVG: Move/rename reference management to SVGElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove sed script from CL Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGElementRareData.h ('k') | Source/core/svg/SVGFEImageElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGElementRareData.h ('k') | Source/core/svg/SVGFEImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698