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

Side by Side Diff: Source/core/rendering/RenderTableCol.cpp

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderTableCol.h ('k') | Source/core/rendering/RenderTableRow.h » ('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) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved.
8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "RenderTableCol.h" 27 #include "RenderTableCol.h"
28 28
29 #include "CachedImage.h" 29 #include "CachedImage.h"
30 #include "HTMLNames.h" 30 #include "HTMLNames.h"
31 #include "HTMLTableColElement.h" 31 #include "HTMLTableColElement.h"
32 #include "RenderTable.h" 32 #include "RenderTable.h"
33 #include "RenderTableCell.h" 33 #include "RenderTableCell.h"
34 #include "WebCoreMemoryInstrumentation.h"
35 34
36 namespace WebCore { 35 namespace WebCore {
37 36
38 using namespace HTMLNames; 37 using namespace HTMLNames;
39 38
40 RenderTableCol::RenderTableCol(Element* element) 39 RenderTableCol::RenderTableCol(Element* element)
41 : RenderBox(element) 40 : RenderBox(element)
42 , m_span(1) 41 , m_span(1)
43 { 42 {
44 // init RenderObject attributes 43 // init RenderObject attributes
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 ASSERT_UNUSED(cell, table()->colElement(cell->col() + cell->colSpan()) == th is); 180 ASSERT_UNUSED(cell, table()->colElement(cell->col() + cell->colSpan()) == th is);
182 return style()->borderStart(); 181 return style()->borderStart();
183 } 182 }
184 183
185 const BorderValue& RenderTableCol::borderAdjoiningCellAfter(const RenderTableCel l* cell) const 184 const BorderValue& RenderTableCol::borderAdjoiningCellAfter(const RenderTableCel l* cell) const
186 { 185 {
187 ASSERT_UNUSED(cell, table()->colElement(cell->col() - 1) == this); 186 ASSERT_UNUSED(cell, table()->colElement(cell->col() - 1) == this);
188 return style()->borderEnd(); 187 return style()->borderEnd();
189 } 188 }
190 189
191 void RenderTableCol::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
192 {
193 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Rendering) ;
194 RenderBox::reportMemoryUsage(memoryObjectInfo);
195 info.addMember(m_children, "children");
196 } 190 }
197
198 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTableCol.h ('k') | Source/core/rendering/RenderTableRow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698