Chromium Code Reviews| 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 263bbe5d2f34506cfc77820cdc8b98d967443d54..c1b4b9a1c2764377d45da91c922659ff36e15066 100644 |
| --- a/third_party/WebKit/Source/core/style/AppliedTextDecoration.cpp |
| +++ b/third_party/WebKit/Source/core/style/AppliedTextDecoration.cpp |
| @@ -9,7 +9,7 @@ namespace blink { |
| AppliedTextDecoration::AppliedTextDecoration(TextDecoration line, |
| TextDecorationStyle style, |
| Color color) |
| - : lines_(line), style_(style), color_(color) {} |
| + : lines_(static_cast<unsigned>(line)), style_(style), color_(color) {} |
|
Bugs Nash
2017/04/27 00:53:54
Hm. I think this would be better changes to TextDe
shend
2017/04/27 01:09:17
Hmm, I don't think we can store it as TextDecorati
Bugs Nash
2017/04/27 01:59:30
would changing the type of TextDecoration from the
|
| bool AppliedTextDecoration::operator==(const AppliedTextDecoration& o) const { |
| return color_ == o.color_ && lines_ == o.lines_ && style_ == o.style_; |