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

Unified Diff: Source/core/paint/TablePainter.cpp

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/paint/RoundedInnerRectClipper.cpp ('k') | Source/core/paint/ViewPainter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/TablePainter.cpp
diff --git a/Source/core/paint/TablePainter.cpp b/Source/core/paint/TablePainter.cpp
index 8055e75342aeac021c918b0de244e1d820894c48..29d6f5c1c5bad02aa651dafa877bd81c487e3d41 100644
--- a/Source/core/paint/TablePainter.cpp
+++ b/Source/core/paint/TablePainter.cpp
@@ -42,8 +42,8 @@ void TablePainter::paintObject(const PaintInfo& paintInfo, const LayoutPoint& pa
info.updatePaintingRootForChildren(&m_layoutTable);
for (LayoutObject* child = m_layoutTable.firstChild(); child; child = child->nextSibling()) {
- if (child->isBox() && !toRenderBox(child)->hasSelfPaintingLayer() && (child->isTableSection() || child->isTableCaption())) {
- LayoutPoint childPoint = m_layoutTable.flipForWritingModeForChild(toRenderBox(child), paintOffset);
+ if (child->isBox() && !toLayoutBox(child)->hasSelfPaintingLayer() && (child->isTableSection() || child->isTableCaption())) {
+ LayoutPoint childPoint = m_layoutTable.flipForWritingModeForChild(toLayoutBox(child), paintOffset);
child->paint(info, childPoint);
}
}
« no previous file with comments | « Source/core/paint/RoundedInnerRectClipper.cpp ('k') | Source/core/paint/ViewPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698