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

Side by Side Diff: Source/core/layout/LayoutTableRow.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/LayoutTableCol.cpp ('k') | Source/core/layout/LayoutTableRow.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, 2013 Apple Inc. All rights reserv ed. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 Apple Inc. All rights reserv ed.
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 17 matching lines...) Expand all
28 #include "core/layout/LayoutTableSection.h" 28 #include "core/layout/LayoutTableSection.h"
29 29
30 namespace blink { 30 namespace blink {
31 31
32 static const unsigned unsetRowIndex = 0x7FFFFFFF; 32 static const unsigned unsetRowIndex = 0x7FFFFFFF;
33 static const unsigned maxRowIndex = 0x7FFFFFFE; // 2,147,483,646 33 static const unsigned maxRowIndex = 0x7FFFFFFE; // 2,147,483,646
34 34
35 class LayoutTableRow final : public RenderBox { 35 class LayoutTableRow final : public RenderBox {
36 public: 36 public:
37 explicit LayoutTableRow(Element*); 37 explicit LayoutTableRow(Element*);
38 virtual void trace(Visitor*) override;
39 38
40 LayoutTableCell* firstCell() const; 39 LayoutTableCell* firstCell() const;
41 LayoutTableCell* lastCell() const; 40 LayoutTableCell* lastCell() const;
42 41
43 LayoutTableRow* previousRow() const; 42 LayoutTableRow* previousRow() const;
44 LayoutTableRow* nextRow() const; 43 LayoutTableRow* nextRow() const;
45 44
46 const RenderObjectChildList* children() const { return &m_children; } 45 const RenderObjectChildList* children() const { return &m_children; }
47 RenderObjectChildList* children() { return &m_children; } 46 RenderObjectChildList* children() { return &m_children; }
48 47
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 151
153 inline LayoutTableRow* LayoutTableSection::lastRow() const 152 inline LayoutTableRow* LayoutTableSection::lastRow() const
154 { 153 {
155 ASSERT(children() == virtualChildren()); 154 ASSERT(children() == virtualChildren());
156 return toLayoutTableRow(children()->lastChild()); 155 return toLayoutTableRow(children()->lastChild());
157 } 156 }
158 157
159 } // namespace blink 158 } // namespace blink
160 159
161 #endif // LayoutTableRow_h 160 #endif // LayoutTableRow_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutTableCol.cpp ('k') | Source/core/layout/LayoutTableRow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698