Chromium Code Reviews| Index: Source/core/paint/SVGInlineTextBoxPainter.h |
| diff --git a/Source/core/paint/SVGInlineTextBoxPainter.h b/Source/core/paint/SVGInlineTextBoxPainter.h |
| index 95fad0a4c144de6bb056e82373a62c94032cdaab..351d5def50dbc4e37574e7c7af8d8af9556ac873 100644 |
| --- a/Source/core/paint/SVGInlineTextBoxPainter.h |
| +++ b/Source/core/paint/SVGInlineTextBoxPainter.h |
| @@ -29,9 +29,9 @@ public: |
| virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint&, DocumentMarker*, RenderStyle*, const Font&); |
| private: |
| - void paintDecoration(GraphicsContext*, TextDecoration, const SVGTextFragment&); |
| - void paintTextWithShadows(GraphicsContext*, RenderStyle*, TextRun&, const SVGTextFragment&, int startPosition, int endPosition, RenderSVGResourceMode); |
| - void paintText(GraphicsContext*, RenderStyle*, RenderStyle* selectionStyle, const SVGTextFragment&, RenderSVGResourceMode, bool hasSelection, bool paintSelectedTextOnly); |
| + void paintDecoration(PaintInfo&, TextDecoration, const SVGTextFragment&); |
|
f(malita)
2014/11/18 17:35:59
Let's const-ify PaintInfo& everywhere (the paint p
fs
2014/11/18 18:18:34
Done.
|
| + void paintTextWithShadows(PaintInfo&, RenderStyle*, TextRun&, const SVGTextFragment&, int startPosition, int endPosition, RenderSVGResourceMode); |
| + void paintText(PaintInfo&, RenderStyle*, RenderStyle* selectionStyle, const SVGTextFragment&, RenderSVGResourceMode, bool hasSelection, bool paintSelectedTextOnly); |
| SVGInlineTextBox& m_svgInlineTextBox; |
| }; |