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

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

Issue 2416993002: Introduce support for text-decoration-skip: ink (Closed)
Patch Set: Created 4 years, 2 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 84251d3dd11e56013276133f58a93e3fc6ea1e36..7754c7cb30754b0dce35ed70875c7ed7150faedd 100644
--- a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.h
+++ b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.h
@@ -25,6 +25,7 @@ class InlineTextBox;
class LayoutObject;
class LayoutPoint;
class LayoutTextCombine;
+class TextPainter;
enum class DocumentMarkerPaintPhase { Foreground, Background };
@@ -83,7 +84,8 @@ class InlineTextBoxPainter {
const Font&,
Color textColor,
LayoutTextCombine* = nullptr);
- void paintDecoration(const PaintInfo&,
+ void paintDecoration(TextPainter&,
+ const PaintInfo&,
const LayoutPoint& boxOrigin,
TextDecoration);
void paintCompositionUnderline(GraphicsContext&,

Powered by Google App Engine
This is Rietveld 408576698