Chromium Code Reviews| Index: third_party/WebKit/Source/core/style/BorderValue.h |
| diff --git a/third_party/WebKit/Source/core/style/BorderValue.h b/third_party/WebKit/Source/core/style/BorderValue.h |
| index 3002f60217d3b0ca54aadda406ba17e16ebb43af..6e49aca962fa6a62c3f177208ce6747f57d34271 100644 |
| --- a/third_party/WebKit/Source/core/style/BorderValue.h |
| +++ b/third_party/WebKit/Source/core/style/BorderValue.h |
| @@ -26,7 +26,6 @@ |
| #define BorderValue_h |
| #include "core/css/StyleColor.h" |
| -#include "core/style/BorderStyle.h" |
| #include "core/style/ComputedStyleConstants.h" |
| #include "platform/graphics/Color.h" |
| #include "platform/wtf/Allocator.h" |
| @@ -46,10 +45,9 @@ class BorderValue { |
| SetWidth(3); |
| } |
| - BorderValue(const BorderStyle& data, const StyleColor& color, float width) { |
| + BorderValue(EBorderStyle style, const StyleColor& color, float width) { |
| SetColor(color.Resolve(Color())); |
| - SetStyle(data.Style()); |
| - SetIsAuto(data.IsAuto()); |
|
shend
2017/05/17 22:18:34
Was this deletion intentional?
nainar
2017/05/18 01:58:35
Nope it wasn't. Added it back in.
|
| + SetStyle(style); |
| SetWidth(width); |
| } |