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

Side by Side Diff: Source/core/rendering/RenderTableRow.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/RenderTableRow.h ('k') | Source/core/rendering/RenderTableSection.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, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 15 matching lines...) Expand all
26 #include "RenderTableRow.h" 26 #include "RenderTableRow.h"
27 27
28 #include "CachedImage.h" 28 #include "CachedImage.h"
29 #include "Document.h" 29 #include "Document.h"
30 #include "HTMLNames.h" 30 #include "HTMLNames.h"
31 #include "HitTestResult.h" 31 #include "HitTestResult.h"
32 #include "PaintInfo.h" 32 #include "PaintInfo.h"
33 #include "RenderTableCell.h" 33 #include "RenderTableCell.h"
34 #include "RenderView.h" 34 #include "RenderView.h"
35 #include "StyleInheritedData.h" 35 #include "StyleInheritedData.h"
36 #include "WebCoreMemoryInstrumentation.h"
37 36
38 namespace WebCore { 37 namespace WebCore {
39 38
40 using namespace HTMLNames; 39 using namespace HTMLNames;
41 40
42 RenderTableRow::RenderTableRow(Element* element) 41 RenderTableRow::RenderTableRow(Element* element)
43 : RenderBox(element) 42 : RenderBox(element)
44 , m_rowIndex(unsetRowIndex) 43 , m_rowIndex(unsetRowIndex)
45 { 44 {
46 // init RenderObject attributes 45 // init RenderObject attributes
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 } 272 }
274 273
275 RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderOb ject* parent) 274 RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderOb ject* parent)
276 { 275 {
277 RenderTableRow* newRow = RenderTableRow::createAnonymous(parent->document()) ; 276 RenderTableRow* newRow = RenderTableRow::createAnonymous(parent->document()) ;
278 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay( parent->style(), TABLE_ROW); 277 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay( parent->style(), TABLE_ROW);
279 newRow->setStyle(newStyle.release()); 278 newRow->setStyle(newStyle.release());
280 return newRow; 279 return newRow;
281 } 280 }
282 281
283 void RenderTableRow::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
284 {
285 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Rendering) ;
286 RenderBox::reportMemoryUsage(memoryObjectInfo);
287 info.addMember(m_children, "children");
288 }
289
290 } // namespace WebCore 282 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTableRow.h ('k') | Source/core/rendering/RenderTableSection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698