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

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

Issue 402433005: Oilpan: Remove support for tracing off-heap HashSets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix deadWrapper number in heap tests. Created 6 years, 5 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/SVGDocumentExtensions.cpp ('k') | Source/core/svg/SVGFilterElement.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 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org>
3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org>
4 * Copyright (C) 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2008 Apple Inc. All rights reserved.
5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com>
6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1153 for (SVGElementSet::iterator it = outgoingReferences.begin(), itEnd = outgoi ngReferences.end(); it != itEnd; ++it) { 1153 for (SVGElementSet::iterator it = outgoingReferences.begin(), itEnd = outgoi ngReferences.end(); it != itEnd; ++it) {
1154 SVGElement* targetElement = *it; 1154 SVGElement* targetElement = *it;
1155 ASSERT(targetElement->hasSVGRareData()); 1155 ASSERT(targetElement->hasSVGRareData());
1156 targetElement->ensureSVGRareData()->incomingReferences().remove(this); 1156 targetElement->ensureSVGRareData()->incomingReferences().remove(this);
1157 } 1157 }
1158 outgoingReferences.clear(); 1158 outgoingReferences.clear();
1159 } 1159 }
1160 1160
1161 void SVGElement::trace(Visitor* visitor) 1161 void SVGElement::trace(Visitor* visitor)
1162 { 1162 {
1163 #if ENABLE(OILPAN)
1163 visitor->trace(m_elementsWithRelativeLengths); 1164 visitor->trace(m_elementsWithRelativeLengths);
1164 visitor->trace(m_SVGRareData); 1165 visitor->trace(m_SVGRareData);
1166 #endif
1165 Element::trace(visitor); 1167 Element::trace(visitor);
1166 } 1168 }
1167 1169
1168 const AtomicString& SVGElement::eventParameterName() 1170 const AtomicString& SVGElement::eventParameterName()
1169 { 1171 {
1170 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con structFromLiteral)); 1172 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con structFromLiteral));
1171 return evtString; 1173 return evtString;
1172 } 1174 }
1173 1175
1174 } 1176 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGDocumentExtensions.cpp ('k') | Source/core/svg/SVGFilterElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698