Chromium Code Reviews| Index: sky/engine/core/rendering/InlineTextBox.cpp |
| diff --git a/sky/engine/core/rendering/InlineTextBox.cpp b/sky/engine/core/rendering/InlineTextBox.cpp |
| index 6fe8624030bc5d523938865a36e1e522326c1df5..25bf38cf035cbf094eee91c5ec73c9c928391e2d 100644 |
| --- a/sky/engine/core/rendering/InlineTextBox.cpp |
| +++ b/sky/engine/core/rendering/InlineTextBox.cpp |
| @@ -478,7 +478,7 @@ void paintTextWithEmphasisMark( |
| } // namespace |
| -void InlineTextBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit /*lineTop*/, LayoutUnit /*lineBottom*/) |
| +void InlineTextBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit /*lineTop*/, LayoutUnit /*lineBottom*/, Vector<RenderBox*> layers) |
|
esprehn
2015/02/05 23:47:00
Vector<RenderBox*>&, you're making copies all over
|
| { |
| if (isLineBreak() || m_truncation == cFullTruncation || !m_len) |
| return; |