Index: Source/core/rendering/RenderTableSection.h |
diff --git a/Source/core/rendering/RenderTableSection.h b/Source/core/rendering/RenderTableSection.h |
index 6d87ea2af2118365e162d6fa658ef2b4c1a14cf9..27410d5b14ea3598597811024bd4b0a5cf673a4a 100644 |
--- a/Source/core/rendering/RenderTableSection.h |
+++ b/Source/core/rendering/RenderTableSection.h |
@@ -4,7 +4,7 @@ |
* (C) 1998 Waldo Bastian (bastian@kde.org) |
* (C) 1999 Lars Knoll (knoll@kde.org) |
* (C) 1999 Antti Koivisto (koivisto@kde.org) |
- * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. |
+ * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 Apple Inc. All rights reserved. |
* |
* This library is free software; you can redistribute it and/or |
* modify it under the terms of the GNU Library General Public |
@@ -65,9 +65,8 @@ public: |
RenderTableSection(Element*); |
virtual ~RenderTableSection(); |
- // FIXME: These methods should return a RenderTableRow. |
- RenderObject* firstChild() const { ASSERT(children() == virtualChildren()); return children()->firstChild(); } |
- RenderObject* lastChild() const { ASSERT(children() == virtualChildren()); return children()->lastChild(); } |
+ RenderTableRow* firstRow() const; |
+ RenderTableRow* lastRow() const; |
const RenderObjectChildList* children() const { return &m_children; } |
RenderObjectChildList* children() { return &m_children; } |
@@ -220,6 +219,7 @@ public: |
protected: |
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE; |
+ virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE; |
private: |
virtual RenderObjectChildList* virtualChildren() OVERRIDE { return children(); } |
@@ -238,8 +238,6 @@ private: |
virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE; |
- virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE; |
- |
int borderSpacingForRow(unsigned row) const { return m_grid[row].rowRenderer ? table()->vBorderSpacing() : 0; } |
void ensureRows(unsigned); |