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

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

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/paint/InlineTextBoxPainter.h
diff --git a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.h b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.h
index bbfa397dfb5afb5f43170a8d601080f74809ba24..1febe2596c3e32eddeef6875c3119bcf0828323d 100644
--- a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.h
+++ b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.h
@@ -24,6 +24,7 @@ class InlineTextBox;
class LayoutObject;
class LayoutPoint;
class LayoutTextCombine;
+class TextMatchMarker;
class TextPainter;
enum class DocumentMarkerPaintPhase { Foreground, Background };
@@ -49,12 +50,12 @@ class InlineTextBoxPainter {
bool grammar);
void paintTextMatchMarkerForeground(const PaintInfo&,
const LayoutPoint& boxOrigin,
- const DocumentMarker&,
+ const TextMatchMarker&,
const ComputedStyle&,
const Font&);
void paintTextMatchMarkerBackground(const PaintInfo&,
const LayoutPoint& boxOrigin,
- const DocumentMarker&,
+ const TextMatchMarker&,
const ComputedStyle&,
const Font&);

Powered by Google App Engine
This is Rietveld 408576698