OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> | 3 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> |
4 * Copyright (C) 2007 Rob Buis <buis@kde.org> | 4 * Copyright (C) 2007 Rob Buis <buis@kde.org> |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 } | 394 } |
395 | 395 |
396 SVGSVGElement* SVGDocumentExtensions::rootElement() const | 396 SVGSVGElement* SVGDocumentExtensions::rootElement() const |
397 { | 397 { |
398 ASSERT(m_document); | 398 ASSERT(m_document); |
399 return rootElement(*m_document); | 399 return rootElement(*m_document); |
400 } | 400 } |
401 | 401 |
402 void SVGDocumentExtensions::trace(Visitor* visitor) | 402 void SVGDocumentExtensions::trace(Visitor* visitor) |
403 { | 403 { |
| 404 #if ENABLE(OILPAN) |
404 visitor->trace(m_document); | 405 visitor->trace(m_document); |
405 visitor->trace(m_timeContainers); | 406 visitor->trace(m_timeContainers); |
406 #if ENABLE(SVG_FONTS) | 407 #if ENABLE(SVG_FONTS) |
407 visitor->trace(m_svgFontFaceElements); | 408 visitor->trace(m_svgFontFaceElements); |
408 visitor->trace(m_pendingSVGFontFaceElementsForRemoval); | 409 visitor->trace(m_pendingSVGFontFaceElementsForRemoval); |
409 #endif | 410 #endif |
410 visitor->trace(m_relativeLengthSVGRoots); | 411 visitor->trace(m_relativeLengthSVGRoots); |
411 visitor->trace(m_pendingResources); | 412 visitor->trace(m_pendingResources); |
412 visitor->trace(m_pendingResourcesForRemoval); | 413 visitor->trace(m_pendingResourcesForRemoval); |
| 414 #endif |
413 } | 415 } |
414 | 416 |
415 } | 417 } |
OLD | NEW |