diff options
author | Ben Murdoch <benm@google.com> | 2009-08-11 17:01:47 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2009-08-11 18:21:02 +0100 |
commit | 0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5 (patch) | |
tree | 2943df35f62d885c89d01063cc528dd73b480fea /WebCore/rendering/SVGRootInlineBox.cpp | |
parent | 7e7a70bfa49a1122b2597a1e6367d89eb4035eca (diff) | |
download | external_webkit-0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5.zip external_webkit-0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5.tar.gz external_webkit-0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5.tar.bz2 |
Merge in WebKit r47029.
Diffstat (limited to 'WebCore/rendering/SVGRootInlineBox.cpp')
-rw-r--r-- | WebCore/rendering/SVGRootInlineBox.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/WebCore/rendering/SVGRootInlineBox.cpp b/WebCore/rendering/SVGRootInlineBox.cpp index d92f54c..8319e7c 100644 --- a/WebCore/rendering/SVGRootInlineBox.cpp +++ b/WebCore/rendering/SVGRootInlineBox.cpp @@ -285,14 +285,11 @@ static inline void closeTextChunk(SVGTextChunkLayoutInfo& info) RenderSVGRoot* findSVGRootObject(RenderObject* start) { - // Find associated root inline box + // Find associated root inline box. while (start && !start->isSVGRoot()) start = start->parent(); - ASSERT(start); - ASSERT(start->isSVGRoot()); - - return static_cast<RenderSVGRoot*>(start); + return toRenderSVGRoot(start); } static inline FloatPoint topLeftPositionOfCharacterRange(Vector<SVGChar>& chars) |