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

Side by Side Diff: Source/core/layout/LayoutTableCol.h

Issue 869323003: Oilpan: move RenderObjects off heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review-induced improvements Created 5 years, 10 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/layout/LayoutTableCellTest.cpp ('k') | Source/core/layout/LayoutTableCol.cpp » ('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 18 matching lines...) Expand all
29 #include "core/rendering/RenderBox.h" 29 #include "core/rendering/RenderBox.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class LayoutTable; 33 class LayoutTable;
34 class LayoutTableCell; 34 class LayoutTableCell;
35 35
36 class LayoutTableCol final : public RenderBox { 36 class LayoutTableCol final : public RenderBox {
37 public: 37 public:
38 explicit LayoutTableCol(Element*); 38 explicit LayoutTableCol(Element*);
39 virtual void trace(Visitor*) override;
40 39
41 RenderObject* firstChild() const { ASSERT(children() == virtualChildren()); return children()->firstChild(); } 40 RenderObject* firstChild() const { ASSERT(children() == virtualChildren()); return children()->firstChild(); }
42 41
43 // If you have a LayoutTableCol, use firstChild or lastChild instead. 42 // If you have a LayoutTableCol, use firstChild or lastChild instead.
44 void slowFirstChild() const = delete; 43 void slowFirstChild() const = delete;
45 void slowLastChild() const = delete; 44 void slowLastChild() const = delete;
46 45
47 const RenderObjectChildList* children() const { return &m_children; } 46 const RenderObjectChildList* children() const { return &m_children; }
48 RenderObjectChildList* children() { return &m_children; } 47 RenderObjectChildList* children() { return &m_children; }
49 48
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 103
105 RenderObjectChildList m_children; 104 RenderObjectChildList m_children;
106 unsigned m_span; 105 unsigned m_span;
107 }; 106 };
108 107
109 DEFINE_RENDER_OBJECT_TYPE_CASTS(LayoutTableCol, isLayoutTableCol()); 108 DEFINE_RENDER_OBJECT_TYPE_CASTS(LayoutTableCol, isLayoutTableCol());
110 109
111 } 110 }
112 111
113 #endif 112 #endif
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutTableCellTest.cpp ('k') | Source/core/layout/LayoutTableCol.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698