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.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'WebCore/rendering/RenderSVGTSpan.h') diff --git a/WebCore/rendering/RenderSVGTSpan.h b/WebCore/rendering/RenderSVGTSpan.h index d34cd2f..652c5e3 100644 --- a/WebCore/rendering/RenderSVGTSpan.h +++ b/WebCore/rendering/RenderSVGTSpan.h @@ -1,8 +1,7 @@ /* - * This file is part of the WebKit project. - * * Copyright (C) 2006 Oliver Hunt * (C) 2006 Apple Computer Inc. + * (C) 2009 Google Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -32,8 +31,12 @@ class RenderSVGTSpan : public RenderSVGInline { public: RenderSVGTSpan(Node*); virtual const char* renderName() const { return "RenderSVGTSpan"; } - virtual void absoluteRects(Vector& rects, int tx, int ty, bool topLevel = true); - virtual void absoluteQuads(Vector&, bool topLevel = true); + + // FIXME: These are incorrect, but have always behaved this way. + // These empty implementations prevent us from hitting RenderObject ASSERTS. + // tspan.getBBox() will be wrong, and repainting for tspans may not work correctly! + virtual FloatRect objectBoundingBox() const { return FloatRect(); } + virtual FloatRect repaintRectInLocalCoordinates() const { return FloatRect(); } }; } -- cgit v1.1