| Index: third_party/WebKit/Source/core/style/ComputedStyle.h
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| index b9a36fccf04c7df6705cf9f6ffc499403233dd5b..e1a644aec1cfadd6e0f158bb1855a4fbc661971f 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| @@ -2779,20 +2779,28 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>,
|
|
|
| void SetBorderImageSlicesFill(bool);
|
| const BorderValue BorderLeft() const {
|
| - return BorderValue(BorderLeftStyle(), BorderLeftColor(), BorderLeftWidth(),
|
| - OutlineStyleIsAuto());
|
| + return BorderValue(
|
| + BorderLeftStyle(), BorderLeftColor(),
|
| + static_cast<float>(BorderLeftWidthInternal()) / kBorderWidthDenominator,
|
| + OutlineStyleIsAuto());
|
| }
|
| const BorderValue BorderRight() const {
|
| return BorderValue(BorderRightStyle(), BorderRightColor(),
|
| - BorderRightWidth(), OutlineStyleIsAuto());
|
| + static_cast<float>(BorderRightWidthInternal()) /
|
| + kBorderWidthDenominator,
|
| + OutlineStyleIsAuto());
|
| }
|
| const BorderValue BorderTop() const {
|
| - return BorderValue(BorderTopStyle(), BorderTopColor(), BorderTopWidth(),
|
| - OutlineStyleIsAuto());
|
| + return BorderValue(
|
| + BorderTopStyle(), BorderTopColor(),
|
| + static_cast<float>(BorderTopWidthInternal()) / kBorderWidthDenominator,
|
| + OutlineStyleIsAuto());
|
| }
|
| const BorderValue BorderBottom() const {
|
| return BorderValue(BorderBottomStyle(), BorderBottomColor(),
|
| - BorderBottomWidth(), OutlineStyleIsAuto());
|
| + static_cast<float>(BorderBottomWidthInternal()) /
|
| + kBorderWidthDenominator,
|
| + OutlineStyleIsAuto());
|
| }
|
|
|
| bool BorderSizeEquals(const ComputedStyle& o) const {
|
|
|