| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "sky/engine/config.h" | |
| 6 #include "sky/engine/core/rendering/style/AppliedTextDecoration.h" | 5 #include "sky/engine/core/rendering/style/AppliedTextDecoration.h" |
| 7 | 6 |
| 8 namespace blink { | 7 namespace blink { |
| 9 | 8 |
| 10 AppliedTextDecoration::AppliedTextDecoration(TextDecoration line, TextDecoration
Style style, StyleColor color) | 9 AppliedTextDecoration::AppliedTextDecoration(TextDecoration line, TextDecoration
Style style, StyleColor color) |
| 11 : m_line(line) | 10 : m_line(line) |
| 12 , m_style(style) | 11 , m_style(style) |
| 13 , m_color(color) | 12 , m_color(color) |
| 14 { | 13 { |
| 15 } | 14 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 27 , m_color(StyleColor::currentColor()) | 26 , m_color(StyleColor::currentColor()) |
| 28 { | 27 { |
| 29 } | 28 } |
| 30 | 29 |
| 31 bool AppliedTextDecoration::operator==(const AppliedTextDecoration& o) const | 30 bool AppliedTextDecoration::operator==(const AppliedTextDecoration& o) const |
| 32 { | 31 { |
| 33 return m_color == o.m_color && m_line == o.m_line && m_style == o.m_style; | 32 return m_color == o.m_color && m_line == o.m_line && m_style == o.m_style; |
| 34 } | 33 } |
| 35 | 34 |
| 36 } // namespace blink | 35 } // namespace blink |
| OLD | NEW |