Chromium Code Reviews| Index: sky/engine/core/rendering/InlineFlowBox.cpp |
| diff --git a/sky/engine/core/rendering/InlineFlowBox.cpp b/sky/engine/core/rendering/InlineFlowBox.cpp |
| index f4d9a5e2286a684ded5ca5148b94f56b43c8daa5..2633d896c8b4080d0d56d0d0eea282d42dea36d0 100644 |
| --- a/sky/engine/core/rendering/InlineFlowBox.cpp |
| +++ b/sky/engine/core/rendering/InlineFlowBox.cpp |
| @@ -989,7 +989,7 @@ bool InlineFlowBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& re |
| return false; |
| } |
| -void InlineFlowBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit lineTop, LayoutUnit lineBottom) |
| +void InlineFlowBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit lineTop, LayoutUnit lineBottom, Vector<RenderBox*> layers) |
|
esprehn
2015/02/05 23:47:00
reference.
|
| { |
| LayoutRect overflowRect(visualOverflowRect(lineTop, lineBottom)); |
| overflowRect.moveBy(paintOffset); |
| @@ -1001,7 +1001,7 @@ void InlineFlowBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, |
| for (InlineBox* curr = firstChild(); curr; curr = curr->nextOnLine()) { |
| if (curr->renderer().isText() || !curr->boxModelObject()->hasSelfPaintingLayer()) |
| - curr->paint(paintInfo, paintOffset, lineTop, lineBottom); |
| + curr->paint(paintInfo, paintOffset, lineTop, lineBottom, layers); |
| } |
| } |