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

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

Issue 423093002: Oilpan: Prepare to move RenderObject and RenderObjectChildList to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add more trace Created 6 years, 4 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
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, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights 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 29 matching lines...) Expand all
40 using namespace HTMLNames; 40 using namespace HTMLNames;
41 41
42 RenderTableRow::RenderTableRow(Element* element) 42 RenderTableRow::RenderTableRow(Element* element)
43 : RenderBox(element) 43 : RenderBox(element)
44 , m_rowIndex(unsetRowIndex) 44 , m_rowIndex(unsetRowIndex)
45 { 45 {
46 // init RenderObject attributes 46 // init RenderObject attributes
47 setInline(false); // our object is not Inline 47 setInline(false); // our object is not Inline
48 } 48 }
49 49
50 void RenderTableRow::trace(Visitor* visitor)
51 {
52 visitor->trace(m_children);
53 RenderBox::trace(visitor);
54 }
55
50 void RenderTableRow::willBeRemovedFromTree() 56 void RenderTableRow::willBeRemovedFromTree()
51 { 57 {
52 RenderBox::willBeRemovedFromTree(); 58 RenderBox::willBeRemovedFromTree();
53 59
54 section()->setNeedsCellRecalc(); 60 section()->setNeedsCellRecalc();
55 } 61 }
56 62
57 static bool borderWidthChanged(const RenderStyle* oldStyle, const RenderStyle* n ewStyle) 63 static bool borderWidthChanged(const RenderStyle* oldStyle, const RenderStyle* n ewStyle)
58 { 64 {
59 return oldStyle->borderLeftWidth() != newStyle->borderLeftWidth() 65 return oldStyle->borderLeftWidth() != newStyle->borderLeftWidth()
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 257
252 RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderOb ject* parent) 258 RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderOb ject* parent)
253 { 259 {
254 RenderTableRow* newRow = RenderTableRow::createAnonymous(&parent->document() ); 260 RenderTableRow* newRow = RenderTableRow::createAnonymous(&parent->document() );
255 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay( parent->style(), TABLE_ROW); 261 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay( parent->style(), TABLE_ROW);
256 newRow->setStyle(newStyle.release()); 262 newRow->setStyle(newStyle.release());
257 return newRow; 263 return newRow;
258 } 264 }
259 265
260 } // namespace blink 266 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698