Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1097)

Unified Diff: third_party/WebKit/WebCore/rendering/RenderSVGTSpan.cpp

Issue 21184: WebKit merge 40722:40785 (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/WebCore/rendering/RenderSVGTSpan.cpp
===================================================================
--- third_party/WebKit/WebCore/rendering/RenderSVGTSpan.cpp (revision 9391)
+++ third_party/WebKit/WebCore/rendering/RenderSVGTSpan.cpp (working copy)
@@ -48,8 +48,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());
@@ -68,8 +68,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());
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderSVGRoot.cpp ('k') | third_party/WebKit/WebCore/rendering/RenderSVGText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698