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 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) |
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "core/rendering/RenderBox.h" | 26 #include "core/rendering/RenderBox.h" |
27 | 27 |
28 #include <math.h> | 28 #include <math.h> |
29 #include <algorithm> | 29 #include <algorithm> |
30 #include "HTMLNames.h" | 30 #include "HTMLNames.h" |
31 #include "core/dom/Document.h" | 31 #include "core/dom/Document.h" |
32 #include "core/dom/WebCoreMemoryInstrumentation.h" | 32 #include "core/dom/WebCoreMemoryInstrumentation.h" |
33 #include "core/editing/htmlediting.h" | 33 #include "core/editing/htmlediting.h" |
34 #include "core/html/HTMLElement.h" | 34 #include "core/html/HTMLElement.h" |
35 #include "core/html/HTMLFrameOwnerElement.h" | 35 #include "core/html/HTMLFrameOwnerElement.h" |
36 #include "core/loader/cache/CachedImage.h" | |
37 #include "core/page/Chrome.h" | |
38 #include "core/page/ChromeClient.h" | |
39 #include "core/page/Frame.h" | 36 #include "core/page/Frame.h" |
40 #include "core/page/FrameView.h" | 37 #include "core/page/FrameView.h" |
41 #include "core/page/Page.h" | 38 #include "core/page/Page.h" |
42 #include "core/platform/ScrollbarTheme.h" | |
43 #include "core/platform/graphics/FloatQuad.h" | 39 #include "core/platform/graphics/FloatQuad.h" |
44 #include "core/platform/graphics/GraphicsContextStateSaver.h" | 40 #include "core/platform/graphics/GraphicsContextStateSaver.h" |
45 #include "core/platform/graphics/ImageBuffer.h" | |
46 #include "core/platform/graphics/transforms/TransformState.h" | 41 #include "core/platform/graphics/transforms/TransformState.h" |
47 #include "core/rendering/HitTestResult.h" | 42 #include "core/rendering/HitTestResult.h" |
48 #include "core/rendering/PaintInfo.h" | 43 #include "core/rendering/PaintInfo.h" |
49 #include "core/rendering/RenderArena.h" | |
50 #include "core/rendering/RenderBoxRegionInfo.h" | 44 #include "core/rendering/RenderBoxRegionInfo.h" |
51 #include "core/rendering/RenderFlexibleBox.h" | 45 #include "core/rendering/RenderFlexibleBox.h" |
52 #include "core/rendering/RenderFlowThread.h" | 46 #include "core/rendering/RenderFlowThread.h" |
53 #include "core/rendering/RenderGeometryMap.h" | 47 #include "core/rendering/RenderGeometryMap.h" |
54 #include "core/rendering/RenderInline.h" | 48 #include "core/rendering/RenderInline.h" |
55 #include "core/rendering/RenderLayer.h" | 49 #include "core/rendering/RenderLayer.h" |
56 #include "core/rendering/RenderLayerCompositor.h" | 50 #include "core/rendering/RenderLayerCompositor.h" |
57 #include "core/rendering/RenderPart.h" | |
58 #include "core/rendering/RenderRegion.h" | 51 #include "core/rendering/RenderRegion.h" |
59 #include "core/rendering/RenderTableCell.h" | 52 #include "core/rendering/RenderTableCell.h" |
60 #include "core/rendering/RenderTheme.h" | 53 #include "core/rendering/RenderTheme.h" |
61 #include "core/rendering/RenderView.h" | 54 #include "core/rendering/RenderView.h" |
62 #include <wtf/MemoryInstrumentationHashMap.h> | 55 #include <wtf/MemoryInstrumentationHashMap.h> |
63 | 56 |
64 using namespace std; | 57 using namespace std; |
65 | 58 |
66 namespace WTF { | 59 namespace WTF { |
67 template<> struct SequenceMemoryInstrumentationTraits<WebCore::LayoutUnit> { | 60 template<> struct SequenceMemoryInstrumentationTraits<WebCore::LayoutUnit> { |
(...skipping 4513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4581 | 4574 |
4582 void RenderBox::reportStaticMembersMemoryUsage(MemoryInstrumentation* memoryInst
rumentation) | 4575 void RenderBox::reportStaticMembersMemoryUsage(MemoryInstrumentation* memoryInst
rumentation) |
4583 { | 4576 { |
4584 memoryInstrumentation->addRootObject(gOverrideHeightMap, WebCoreMemoryTypes:
:RenderingStructures); | 4577 memoryInstrumentation->addRootObject(gOverrideHeightMap, WebCoreMemoryTypes:
:RenderingStructures); |
4585 memoryInstrumentation->addRootObject(gOverrideWidthMap, WebCoreMemoryTypes::
RenderingStructures); | 4578 memoryInstrumentation->addRootObject(gOverrideWidthMap, WebCoreMemoryTypes::
RenderingStructures); |
4586 memoryInstrumentation->addRootObject(gOverrideContainingBlockLogicalHeightMa
p, WebCoreMemoryTypes::RenderingStructures); | 4579 memoryInstrumentation->addRootObject(gOverrideContainingBlockLogicalHeightMa
p, WebCoreMemoryTypes::RenderingStructures); |
4587 memoryInstrumentation->addRootObject(gOverrideContainingBlockLogicalWidthMap
, WebCoreMemoryTypes::RenderingStructures); | 4580 memoryInstrumentation->addRootObject(gOverrideContainingBlockLogicalWidthMap
, WebCoreMemoryTypes::RenderingStructures); |
4588 } | 4581 } |
4589 | 4582 |
4590 } // namespace WebCore | 4583 } // namespace WebCore |
OLD | NEW |