Index: Source/core/paint/TablePainter.cpp |
diff --git a/Source/core/paint/TablePainter.cpp b/Source/core/paint/TablePainter.cpp |
index 4691cd91965d332ed1f8c2886e558d2bb71b5830..7f2f5e55f01aca3ec2f6802103787dea966dd8f8 100644 |
--- a/Source/core/paint/TablePainter.cpp |
+++ b/Source/core/paint/TablePainter.cpp |
@@ -7,6 +7,7 @@ |
#include "core/paint/BoxPainter.h" |
#include "core/paint/DrawingRecorder.h" |
+#include "core/paint/ObjectPainter.h" |
#include "core/rendering/GraphicsContextAnnotator.h" |
#include "core/rendering/PaintInfo.h" |
#include "core/rendering/RenderBoxClipper.h" |
@@ -41,7 +42,7 @@ void TablePainter::paintObject(PaintInfo& paintInfo, const LayoutPoint& paintOff |
paintBoxDecorationBackground(paintInfo, paintOffset); |
if (paintPhase == PaintPhaseMask) { |
- m_renderTable.paintMask(paintInfo, paintOffset); |
+ paintMask(paintInfo, paintOffset); |
return; |
} |
@@ -84,7 +85,7 @@ void TablePainter::paintObject(PaintInfo& paintInfo, const LayoutPoint& paintOff |
// Paint outline. |
if ((paintPhase == PaintPhaseOutline || paintPhase == PaintPhaseSelfOutline) && m_renderTable.style()->hasOutline() && m_renderTable.style()->visibility() == VISIBLE) |
- m_renderTable.paintOutline(paintInfo, LayoutRect(paintOffset, m_renderTable.size())); |
+ ObjectPainter(m_renderTable).paintOutline(paintInfo, LayoutRect(paintOffset, m_renderTable.size())); |
} |
void TablePainter::paintBoxDecorationBackground(PaintInfo& paintInfo, const LayoutPoint& paintOffset) |