From 5f1ab04193ad0130ca8204aadaceae083aca9881 Mon Sep 17 00:00:00 2001 From: Feng Qian Date: Wed, 17 Jun 2009 12:12:20 -0700 Subject: Get WebKit r44544. --- WebCore/rendering/RenderSVGTSpan.cpp | 45 ------------------------------------ 1 file changed, 45 deletions(-) (limited to 'WebCore/rendering/RenderSVGTSpan.cpp') diff --git a/WebCore/rendering/RenderSVGTSpan.cpp b/WebCore/rendering/RenderSVGTSpan.cpp index d493c45..90ff36c 100644 --- a/WebCore/rendering/RenderSVGTSpan.cpp +++ b/WebCore/rendering/RenderSVGTSpan.cpp @@ -26,11 +26,6 @@ #if ENABLE(SVG) #include "RenderSVGTSpan.h" -#include "FloatQuad.h" -#include "RenderBlock.h" -#include "SVGInlineTextBox.h" -#include "SVGRootInlineBox.h" - namespace WebCore { RenderSVGTSpan::RenderSVGTSpan(Node* n) @@ -38,46 +33,6 @@ RenderSVGTSpan::RenderSVGTSpan(Node* n) { } -void RenderSVGTSpan::absoluteRects(Vector& rects, int, int, bool) -{ - InlineRunBox* firstBox = firstLineBox(); - - SVGRootInlineBox* rootBox = firstBox ? static_cast(firstBox)->svgRootInlineBox() : 0; - RenderBox* object = rootBox ? rootBox->block() : 0; - - if (!object) - return; - - int xRef = object->x(); - int yRef = object->y(); - - for (InlineRunBox* curr = firstBox; curr; curr = curr->nextLineBox()) { - FloatRect rect(xRef + curr->x(), yRef + curr->y(), curr->width(), curr->height()); - // FIXME: broken with CSS transforms - rects.append(enclosingIntRect(absoluteTransform().mapRect(rect))); - } -} - -void RenderSVGTSpan::absoluteQuads(Vector& quads, bool) -{ - InlineRunBox* firstBox = firstLineBox(); - - SVGRootInlineBox* rootBox = firstBox ? static_cast(firstBox)->svgRootInlineBox() : 0; - RenderBox* object = rootBox ? rootBox->block() : 0; - - if (!object) - return; - - int xRef = object->x(); - int yRef = object->y(); - - for (InlineRunBox* curr = firstBox; curr; curr = curr->nextLineBox()) { - FloatRect rect(xRef + curr->x(), yRef + curr->y(), curr->width(), curr->height()); - // FIXME: broken with CSS transforms - quads.append(absoluteTransform().mapRect(rect)); - } -} - } #endif // ENABLE(SVG) -- cgit v1.1