summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderSVGTSpan.cpp
diff options
context:
space:
mode:
authorFeng Qian <fqian@google.com>2009-06-17 12:12:20 -0700
committerFeng Qian <fqian@google.com>2009-06-17 12:12:20 -0700
commit5f1ab04193ad0130ca8204aadaceae083aca9881 (patch)
tree5a92cd389e2cfe7fb67197ce14b38469462379f8 /WebCore/rendering/RenderSVGTSpan.cpp
parent194315e5a908cc8ed67d597010544803eef1ac59 (diff)
downloadexternal_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.zip
external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.gz
external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.bz2
Get WebKit r44544.
Diffstat (limited to 'WebCore/rendering/RenderSVGTSpan.cpp')
-rw-r--r--WebCore/rendering/RenderSVGTSpan.cpp45
1 files changed, 0 insertions, 45 deletions
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<IntRect>& rects, int, int, bool)
-{
- InlineRunBox* firstBox = firstLineBox();
-
- SVGRootInlineBox* rootBox = firstBox ? static_cast<SVGInlineTextBox*>(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<FloatQuad>& quads, bool)
-{
- InlineRunBox* firstBox = firstLineBox();
-
- SVGRootInlineBox* rootBox = firstBox ? static_cast<SVGInlineTextBox*>(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)