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

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

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blind fix for Mac. Created 5 years, 11 months 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 b86ce4c6e05f2264ec9d76c98fd26464bc445bb1..d5f9b254e2062ec9ca83bd0efe6a26703799a06f 100644
--- a/Source/core/paint/SVGInlineTextBoxPainter.h
+++ b/Source/core/paint/SVGInlineTextBoxPainter.h
@@ -26,14 +26,14 @@ public:
SVGInlineTextBoxPainter(SVGInlineTextBox& svgInlineTextBox) : m_svgInlineTextBox(svgInlineTextBox) { }
void paint(const PaintInfo&, const LayoutPoint&);
void paintSelectionBackground(const PaintInfo&);
- virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint&, DocumentMarker*, RenderStyle*, const Font&);
+ virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint&, DocumentMarker*, const RenderStyle*, const Font&);
private:
bool shouldPaintSelection() const;
void paintTextFragments(const PaintInfo&, RenderObject&);
void paintDecoration(const PaintInfo&, TextDecoration, const SVGTextFragment&);
- void paintTextWithShadows(const PaintInfo&, RenderStyle*, TextRun&, const SVGTextFragment&, int startPosition, int endPosition, RenderSVGResourceMode);
- void paintText(const PaintInfo&, RenderStyle*, RenderStyle* selectionStyle, const SVGTextFragment&, RenderSVGResourceMode, bool shouldPaintSelection);
+ void paintTextWithShadows(const PaintInfo&, const RenderStyle*, TextRun&, const SVGTextFragment&, int startPosition, int endPosition, RenderSVGResourceMode);
+ void paintText(const PaintInfo&, const RenderStyle*, const RenderStyle* selectionStyle, const SVGTextFragment&, RenderSVGResourceMode, bool shouldPaintSelection);
SVGInlineTextBox& m_svgInlineTextBox;
};

Powered by Google App Engine
This is Rietveld 408576698