2006-10-10 Oliver Hunt <oliver@apple.com>
authoroliver <oliver@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Oct 2006 02:22:40 +0000 (02:22 +0000)
committeroliver <oliver@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Oct 2006 02:22:40 +0000 (02:22 +0000)
        rubber stamped by Anders.

        More buildbot bustage

        * kcanvas/SVGInlineFlowBox.cpp:
        (WebCore::placeBoxesVerticallyWithAbsBaseline):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16981 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/kcanvas/SVGInlineFlowBox.cpp

index 07c6be9837a1b79e2048049dc517b12bcb486da4..ff20c5285469ad57706b84ea590c84ffd093f2a5 100644 (file)
@@ -1,3 +1,12 @@
+2006-10-10  Oliver Hunt  <oliver@apple.com>
+
+        rubber stamped by Anders.
+
+        More buildbot bustage
+
+        * kcanvas/SVGInlineFlowBox.cpp:
+        (WebCore::placeBoxesVerticallyWithAbsBaseline):
+
 2006-10-10  Oliver Hunt  <oliver@apple.com>
 
         Reviewed by Anders 
index 08cf268953f09c0572a86e54f6f7ca21e906a565..6bfa98cdbcaa03a6cabd4cff94814d9386e34611 100644 (file)
@@ -257,7 +257,7 @@ static void placeBoxesVerticallyWithAbsBaseline(InlineFlowBox* flow, int& height
             SVGTextPositioningElement* text = static_cast<SVGTextPositioningElement*>(curr->object()->element());
             baseline += (int)(text->dy()->getFirst() ? text->dy()->getFirst()->value() : 0);
             if (text->y()->getFirst()) {
-                baseline = text->y()->getFirst()->value() - yPos;
+                baseline = (int)(text->y()->getFirst()->value() - yPos);
             }
             placeBoxesVerticallyWithAbsBaseline(static_cast<InlineFlowBox*>(curr), heightOfBlock, min_y, max_y, baseline, yPos);
         }