summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/EllipsisBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/EllipsisBox.cpp')
-rw-r--r--WebCore/rendering/EllipsisBox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/rendering/EllipsisBox.cpp b/WebCore/rendering/EllipsisBox.cpp
index 6ec3195..6f25861 100644
--- a/WebCore/rendering/EllipsisBox.cpp
+++ b/WebCore/rendering/EllipsisBox.cpp
@@ -36,8 +36,8 @@ void EllipsisBox::paint(RenderObject::PaintInfo& paintInfo, int tx, int ty)
context->setFillColor(textColor, style->colorSpace());
bool setShadow = false;
if (style->textShadow()) {
- context->setShadow(IntSize(style->textShadow()->x, style->textShadow()->y),
- style->textShadow()->blur, style->textShadow()->color, style->colorSpace());
+ context->setShadow(IntSize(style->textShadow()->x(), style->textShadow()->y()),
+ style->textShadow()->blur(), style->textShadow()->color(), style->colorSpace());
setShadow = true;
}