Chromium Code Reviews

Side by Side Diff: Source/core/dom/DocumentOrderedMap.cpp

Issue 409113003: Revert of [oilpan]: Remove support for tracing off-heap hashmaps. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/DocumentMarkerController.cpp ('k') | Source/core/dom/ElementDataCache.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, 2009 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
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 163 matching lines...)
174 return get<keyMatchesLowercasedMapName>(key, scope); 174 return get<keyMatchesLowercasedMapName>(key, scope);
175 } 175 }
176 176
177 Element* DocumentOrderedMap::getElementByLabelForAttribute(StringImpl* key, cons t TreeScope* scope) const 177 Element* DocumentOrderedMap::getElementByLabelForAttribute(StringImpl* key, cons t TreeScope* scope) const
178 { 178 {
179 return get<keyMatchesLabelForAttribute>(key, scope); 179 return get<keyMatchesLabelForAttribute>(key, scope);
180 } 180 }
181 181
182 void DocumentOrderedMap::trace(Visitor* visitor) 182 void DocumentOrderedMap::trace(Visitor* visitor)
183 { 183 {
184 #if ENABLE(OILPAN)
185 visitor->trace(m_map); 184 visitor->trace(m_map);
186 #endif
187 } 185 }
188 186
189 void DocumentOrderedMap::MapEntry::trace(Visitor* visitor) 187 void DocumentOrderedMap::MapEntry::trace(Visitor* visitor)
190 { 188 {
191 visitor->trace(element); 189 visitor->trace(element);
192 #if ENABLE(OILPAN) 190 #if ENABLE(OILPAN)
193 visitor->trace(orderedList); 191 visitor->trace(orderedList);
194 #endif 192 #endif
195 } 193 }
196 194
197 } // namespace blink 195 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentMarkerController.cpp ('k') | Source/core/dom/ElementDataCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine