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

Unified Diff: third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp

Issue 2599483002: Extract helper function. (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp b/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp
index 15c6eb2d15b29f6d32caa7f43eab8c84169769e2..2c9c5dcf7dc07d516f0262bdda03f597d815cc0f 100644
--- a/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp
@@ -231,7 +231,7 @@ bool SVGInlineTextBox::mapStartEndPositionsIntoFragmentCoordinates(
void SVGInlineTextBox::paintDocumentMarker(GraphicsContext&,
const LayoutPoint&,
- DocumentMarker*,
+ const DocumentMarker&,
const ComputedStyle&,
const Font&,
bool) const {
@@ -242,7 +242,7 @@ void SVGInlineTextBox::paintDocumentMarker(GraphicsContext&,
void SVGInlineTextBox::paintTextMatchMarkerForeground(
const PaintInfo& paintInfo,
const LayoutPoint& point,
- DocumentMarker* marker,
+ const DocumentMarker& marker,
const ComputedStyle& style,
const Font& font) const {
SVGInlineTextBoxPainter(*this).paintTextMatchMarkerForeground(
@@ -252,7 +252,7 @@ void SVGInlineTextBox::paintTextMatchMarkerForeground(
void SVGInlineTextBox::paintTextMatchMarkerBackground(
const PaintInfo& paintInfo,
const LayoutPoint& point,
- DocumentMarker* marker,
+ const DocumentMarker& marker,
const ComputedStyle& style,
const Font& font) const {
SVGInlineTextBoxPainter(*this).paintTextMatchMarkerBackground(

Powered by Google App Engine
This is Rietveld 408576698