| Index: Source/core/rendering/EllipsisBox.cpp
|
| diff --git a/Source/core/rendering/EllipsisBox.cpp b/Source/core/rendering/EllipsisBox.cpp
|
| index 9051eb2034281383d22b5390e92bfa87dcf62581..7799a34711b0b7b4b7012210ac7611f47040fcaa 100644
|
| --- a/Source/core/rendering/EllipsisBox.cpp
|
| +++ b/Source/core/rendering/EllipsisBox.cpp
|
| @@ -70,8 +70,8 @@ void EllipsisBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, La
|
| DrawLooper drawLooper;
|
| for (size_t i = shadowList->shadows().size(); i--; ) {
|
| const ShadowData& shadow = shadowList->shadows()[i];
|
| - int shadowX = isHorizontal() ? shadow.x() : shadow.y();
|
| - int shadowY = isHorizontal() ? shadow.y() : -shadow.x();
|
| + float shadowX = isHorizontal() ? shadow.x() : shadow.y();
|
| + float shadowY = isHorizontal() ? shadow.y() : -shadow.x();
|
| FloatSize offset(shadowX, shadowY);
|
| drawLooper.addShadow(offset, shadow.blur(), m_renderer->resolveColor(shadow.color()),
|
| DrawLooper::ShadowRespectsTransforms, DrawLooper::ShadowIgnoresAlpha);
|
|
|