| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Rob Buis <buis@kde.org> | 2 * Copyright (C) 2006 Rob Buis <buis@kde.org> |
| 3 * (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> | 3 * (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 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 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #include "config.h" | 22 #include "config.h" |
| 23 #include "CSSCursorImageValue.h" | 23 #include "CSSCursorImageValue.h" |
| 24 | 24 |
| 25 #include "CSSImageValue.h" | 25 #include "CSSImageValue.h" |
| 26 #include "CachedImage.h" | |
| 27 #include "CachedResourceLoader.h" | |
| 28 #include "TreeScope.h" | 26 #include "TreeScope.h" |
| 29 #include "WebCoreMemoryInstrumentation.h" | 27 #include "WebCoreMemoryInstrumentation.h" |
| 28 #include "core/loader/cache/CachedImage.h" |
| 29 #include "core/loader/cache/CachedResourceLoader.h" |
| 30 #include "core/rendering/style/StyleCachedImage.h" | 30 #include "core/rendering/style/StyleCachedImage.h" |
| 31 #include "core/rendering/style/StyleImage.h" | 31 #include "core/rendering/style/StyleImage.h" |
| 32 #include "core/rendering/style/StylePendingImage.h" | 32 #include "core/rendering/style/StylePendingImage.h" |
| 33 #include <wtf/MathExtras.h> | 33 #include <wtf/MathExtras.h> |
| 34 #include <wtf/MemoryInstrumentationHashSet.h> | 34 #include <wtf/MemoryInstrumentationHashSet.h> |
| 35 #include <wtf/text/WTFString.h> | 35 #include <wtf/text/WTFString.h> |
| 36 #include <wtf/UnusedParam.h> | 36 #include <wtf/UnusedParam.h> |
| 37 | 37 |
| 38 #if ENABLE(SVG) | 38 #if ENABLE(SVG) |
| 39 #include "SVGCursorElement.h" | 39 #include "SVGCursorElement.h" |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 { | 227 { |
| 228 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); | 228 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); |
| 229 m_imageValue->reportMemoryUsage(memoryObjectInfo); | 229 m_imageValue->reportMemoryUsage(memoryObjectInfo); |
| 230 // No need to report m_image as it is counted as part of RenderArena. | 230 // No need to report m_image as it is counted as part of RenderArena. |
| 231 #if ENABLE(SVG) | 231 #if ENABLE(SVG) |
| 232 info.addMember(m_referencedElements, "referencedElements"); | 232 info.addMember(m_referencedElements, "referencedElements"); |
| 233 #endif | 233 #endif |
| 234 } | 234 } |
| 235 | 235 |
| 236 } // namespace WebCore | 236 } // namespace WebCore |
| OLD | NEW |