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

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

Issue 1328283005: Add support for multiple text decorations with same line positioning (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years 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 a02ba11e0de84e1e39d6f70b6fffef2db21719ac..9d1d6af4cb90020d39f891c171f84443fab2e0aa 100644
--- a/third_party/WebKit/Source/core/style/AppliedTextDecoration.cpp
+++ b/third_party/WebKit/Source/core/style/AppliedTextDecoration.cpp
@@ -7,23 +7,16 @@
namespace blink {
-AppliedTextDecoration::AppliedTextDecoration(TextDecoration line, TextDecorationStyle style, StyleColor color)
- : m_line(line)
+AppliedTextDecoration::AppliedTextDecoration(TextDecoration line, TextDecorationStyle style, Color color)
+ : m_lines(line)
, m_style(style)
, m_color(color)
{
}
-AppliedTextDecoration::AppliedTextDecoration(TextDecoration line)
- : m_line(line)
- , m_style(TextDecorationStyleSolid)
- , m_color(StyleColor::currentColor())
-{
-}
-
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