Index: third_party/WebKit/WebCore/rendering/RenderSVGTextPath.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/rendering/RenderSVGTextPath.cpp (revision 9391) |
+++ third_party/WebKit/WebCore/rendering/RenderSVGTextPath.cpp (working copy) |
@@ -88,8 +88,8 @@ |
if (!object) |
return; |
- int xRef = object->x() + x(); |
- int yRef = object->y() + y(); |
+ int xRef = object->x(); |
+ int yRef = object->y(); |
for (InlineRunBox* curr = firstBox; curr; curr = curr->nextLineBox()) { |
FloatRect rect(xRef + curr->xPos(), yRef + curr->yPos(), curr->width(), curr->height()); |
@@ -108,8 +108,8 @@ |
if (!object) |
return; |
- int xRef = object->x() + x(); |
- int yRef = object->y() + y(); |
+ int xRef = object->x(); |
+ int yRef = object->y(); |
for (InlineRunBox* curr = firstBox; curr; curr = curr->nextLineBox()) { |
FloatRect rect(xRef + curr->xPos(), yRef + curr->yPos(), curr->width(), curr->height()); |