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

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

Issue 2416993002: Introduce support for text-decoration-skip: ink (Closed)
Patch Set: Falling back to adding rebaseline expectation Created 4 years, 1 month 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 5500c83e544d0cc7c191257c24af7876c41e8d81..e67dbd717622298363b0074470ab439a4f834874 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 TextPainter;
enum class DocumentMarkerPaintPhase { Foreground, Background };
@@ -82,7 +83,8 @@ class InlineTextBoxPainter {
const Font&,
Color textColor,
LayoutTextCombine* = nullptr);
- void paintDecorations(const PaintInfo&,
+ void paintDecorations(TextPainter&,
+ const PaintInfo&,
const LayoutPoint& boxOrigin,
const Vector<AppliedTextDecoration>&);
void paintCompositionUnderline(GraphicsContext&,

Powered by Google App Engine
This is Rietveld 408576698