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

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

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/paint/SVGInlineTextBoxPainter.h
diff --git a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h
index 50983454ec466f3d9f9fceecdcbb001a39025aa7..751cbfcb8f484b2cbd8f79a5d53b3a07c7777996 100644
--- a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h
+++ b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h
@@ -43,12 +43,12 @@ class SVGInlineTextBoxPainter {
void paintSelectionBackground(const PaintInfo&);
void paintTextMatchMarkerForeground(const PaintInfo&,
const LayoutPoint&,
- DocumentMarker*,
+ const DocumentMarker&,
const ComputedStyle&,
const Font&);
void paintTextMatchMarkerBackground(const PaintInfo&,
const LayoutPoint&,
- DocumentMarker*,
+ const DocumentMarker&,
const ComputedStyle&,
const Font&);
@@ -78,7 +78,8 @@ class SVGInlineTextBoxPainter {
const SVGTextFragment&,
LayoutSVGResourceMode,
bool shouldPaintSelection);
- Vector<SVGTextFragmentWithRange> collectTextMatches(DocumentMarker*) const;
+ Vector<SVGTextFragmentWithRange> collectTextMatches(
+ const DocumentMarker&) const;
Vector<SVGTextFragmentWithRange> collectFragmentsInRange(
int startPosition,
int endPosition) const;

Powered by Google App Engine
This is Rietveld 408576698