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

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

Issue 2780313002: [WIP] Refactor DocumentMarker (Closed)
Patch Set: Move accessor methods into derived classes Created 3 years, 9 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: 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 c44accb44cd4d85ba95069af37c3b2bcd4d2f527..8c58cdb8614509dd8eed5cb8d2654f94552b2936 100644
--- a/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp
@@ -242,7 +242,7 @@ void SVGInlineTextBox::paintDocumentMarker(GraphicsContext&,
void SVGInlineTextBox::paintTextMatchMarkerForeground(
const PaintInfo& paintInfo,
const LayoutPoint& point,
- const DocumentMarker& marker,
+ const TextMatchMarker& 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,
- const DocumentMarker& marker,
+ const TextMatchMarker& marker,
const ComputedStyle& style,
const Font& font) const {
SVGInlineTextBoxPainter(*this).paintTextMatchMarkerBackground(

Powered by Google App Engine
This is Rietveld 408576698