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

Unified Diff: third_party/WebKit/Source/core/style/AppliedTextDecoration.cpp

Issue 2497963002: Add support for multiple text decorations with same line positioning (Closed)
Patch Set: Update slimming paint expectations 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/style/AppliedTextDecoration.cpp
diff --git a/third_party/WebKit/Source/core/style/AppliedTextDecoration.cpp b/third_party/WebKit/Source/core/style/AppliedTextDecoration.cpp
index e95faa2af4aad6cd9d514ba1c573c708b2c6526d..5b6c93ca074f0925a51796b546244ca58fbb674b 100644
--- a/third_party/WebKit/Source/core/style/AppliedTextDecoration.cpp
+++ b/third_party/WebKit/Source/core/style/AppliedTextDecoration.cpp
@@ -8,16 +8,11 @@ namespace blink {
AppliedTextDecoration::AppliedTextDecoration(TextDecoration line,
TextDecorationStyle style,
- StyleColor color)
- : m_line(line), m_style(style), m_color(color) {}
-
-AppliedTextDecoration::AppliedTextDecoration(TextDecoration line)
- : m_line(line),
- m_style(TextDecorationStyleSolid),
- m_color(StyleColor::currentColor()) {}
+ Color color)
+ : m_lines(line), m_style(style), m_color(color) {}
bool AppliedTextDecoration::operator==(const AppliedTextDecoration& o) const {
- return m_color == o.m_color && m_line == o.m_line && m_style == o.m_style;
+ return m_color == o.m_color && m_lines == o.m_lines && m_style == o.m_style;
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/style/AppliedTextDecoration.h ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698