| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| index d810f8209bd59bb5d48bb08144e425ef844f10cb..5f05a189c8ffab08a3ac2c9f8a53d4cd94792495 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -1026,14 +1026,14 @@ void ComputedStyle::setBoxShadow(PassRefPtr<ShadowList> s)
|
| static FloatRoundedRect::Radii calcRadiiFor(const BorderData& border, LayoutSize size)
|
| {
|
| return FloatRoundedRect::Radii(
|
| - IntSize(valueForLength(border.topLeft().width(), size.width()),
|
| - valueForLength(border.topLeft().height(), size.height())),
|
| - IntSize(valueForLength(border.topRight().width(), size.width()),
|
| - valueForLength(border.topRight().height(), size.height())),
|
| - IntSize(valueForLength(border.bottomLeft().width(), size.width()),
|
| - valueForLength(border.bottomLeft().height(), size.height())),
|
| - IntSize(valueForLength(border.bottomRight().width(), size.width()),
|
| - valueForLength(border.bottomRight().height(), size.height())));
|
| + FloatSize(floatValueForLength(border.topLeft().width(), size.width().toFloat()),
|
| + floatValueForLength(border.topLeft().height(), size.height().toFloat())),
|
| + FloatSize(floatValueForLength(border.topRight().width(), size.width().toFloat()),
|
| + floatValueForLength(border.topRight().height(), size.height().toFloat())),
|
| + FloatSize(floatValueForLength(border.bottomLeft().width(), size.width().toFloat()),
|
| + floatValueForLength(border.bottomLeft().height(), size.height().toFloat())),
|
| + FloatSize(floatValueForLength(border.bottomRight().width(), size.width().toFloat()),
|
| + floatValueForLength(border.bottomRight().height(), size.height().toFloat())));
|
| }
|
|
|
| StyleImage* ComputedStyle::listStyleImage() const { return rareInheritedData->listStyleImage.get(); }
|
|
|