OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010 Apple Inc. All rights reserv
ed. |
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/loader/ImageLoader.h" | 23 #include "core/loader/ImageLoader.h" |
24 | 24 |
25 #include "Document.h" | |
26 #include "Element.h" | |
27 #include "Event.h" | |
28 #include "EventSender.h" | |
29 #include "HTMLNames.h" | 25 #include "HTMLNames.h" |
30 #include "HTMLObjectElement.h" | 26 #include "HTMLObjectElement.h" |
31 #include "HTMLParserIdioms.h" | 27 #include "HTMLParserIdioms.h" |
32 #include "ScriptCallStack.h" | 28 #include "ScriptCallStack.h" |
33 #include "WebCoreMemoryInstrumentation.h" | 29 #include "core/dom/Document.h" |
| 30 #include "core/dom/Element.h" |
| 31 #include "core/dom/Event.h" |
| 32 #include "core/dom/EventSender.h" |
| 33 #include "core/dom/WebCoreMemoryInstrumentation.h" |
34 #include "core/loader/CrossOriginAccessControl.h" | 34 #include "core/loader/CrossOriginAccessControl.h" |
35 #include "core/loader/cache/CachedImage.h" | 35 #include "core/loader/cache/CachedImage.h" |
36 #include "core/loader/cache/CachedResourceLoader.h" | 36 #include "core/loader/cache/CachedResourceLoader.h" |
37 #include "core/loader/cache/CachedResourceRequest.h" | 37 #include "core/loader/cache/CachedResourceRequest.h" |
38 #include "core/page/Frame.h" | 38 #include "core/page/Frame.h" |
39 #include "core/page/SecurityOrigin.h" | 39 #include "core/page/SecurityOrigin.h" |
40 #include "core/rendering/RenderImage.h" | 40 #include "core/rendering/RenderImage.h" |
41 #include "core/rendering/RenderVideo.h" | 41 #include "core/rendering/RenderVideo.h" |
42 | 42 |
43 #if ENABLE(SVG) | 43 #if ENABLE(SVG) |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 void ImageLoader::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const | 478 void ImageLoader::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |
479 { | 479 { |
480 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::Image); | 480 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::Image); |
481 info.addMember(m_element, "element"); | 481 info.addMember(m_element, "element"); |
482 info.addMember(m_image.get(), "image", WTF::RetainingPointer); | 482 info.addMember(m_image.get(), "image", WTF::RetainingPointer); |
483 info.addMember(m_derefElementTimer, "derefElementTimer"); | 483 info.addMember(m_derefElementTimer, "derefElementTimer"); |
484 info.addMember(m_failedLoadURL, "failedLoadURL"); | 484 info.addMember(m_failedLoadURL, "failedLoadURL"); |
485 } | 485 } |
486 | 486 |
487 } | 487 } |
OLD | NEW |