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

Unified Diff: Source/core/paint/SVGInlineTextBoxPainter.h

Issue 721073003: Pass PaintBehaviorRenderingClipPathAsMask in PaintInfo (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
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;
};
« no previous file with comments | « no previous file | Source/core/paint/SVGInlineTextBoxPainter.cpp » ('j') | Source/core/rendering/svg/SVGRenderSupport.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698