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

Side by Side Diff: Source/core/css/CSSCursorImageValue.cpp

Issue 15387004: Remove some unused includes from core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 7 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
« no previous file with comments | « Source/core/css/CSSCrossfadeValue.cpp ('k') | Source/core/css/CSSDefaultStyleSheets.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) 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 "core/css/CSSCursorImageValue.h" 23 #include "core/css/CSSCursorImageValue.h"
24 24
25 #include "core/css/CSSImageSetValue.h" 25 #include "core/css/CSSImageSetValue.h"
26 #include "core/css/CSSImageValue.h" 26 #include "core/css/CSSImageValue.h"
27 #include "core/dom/TreeScope.h"
28 #include "core/dom/WebCoreMemoryInstrumentation.h" 27 #include "core/dom/WebCoreMemoryInstrumentation.h"
29 #include "core/loader/cache/CachedImage.h" 28 #include "core/loader/cache/CachedImage.h"
30 #include "core/loader/cache/CachedResourceLoader.h" 29 #include "core/loader/cache/CachedResourceLoader.h"
31 #include "core/rendering/style/StyleCachedImage.h" 30 #include "core/rendering/style/StyleCachedImage.h"
32 #include "core/rendering/style/StyleCachedImageSet.h" 31 #include "core/rendering/style/StyleCachedImageSet.h"
33 #include "core/rendering/style/StyleImage.h" 32 #include "core/rendering/style/StyleImage.h"
34 #include "core/rendering/style/StylePendingImage.h" 33 #include "core/rendering/style/StylePendingImage.h"
35 #include <wtf/MathExtras.h> 34 #include <wtf/MathExtras.h>
36 #include <wtf/MemoryInstrumentationHashSet.h> 35 #include <wtf/MemoryInstrumentationHashSet.h>
37 #include <wtf/UnusedParam.h> 36 #include <wtf/UnusedParam.h>
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 { 219 {
221 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 220 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
222 m_imageValue->reportMemoryUsage(memoryObjectInfo); 221 m_imageValue->reportMemoryUsage(memoryObjectInfo);
223 // No need to report m_image as it is counted as part of RenderArena. 222 // No need to report m_image as it is counted as part of RenderArena.
224 #if ENABLE(SVG) 223 #if ENABLE(SVG)
225 info.addMember(m_referencedElements, "referencedElements"); 224 info.addMember(m_referencedElements, "referencedElements");
226 #endif 225 #endif
227 } 226 }
228 227
229 } // namespace WebCore 228 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/CSSCrossfadeValue.cpp ('k') | Source/core/css/CSSDefaultStyleSheets.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698