Rolls out a build fix I made on Friday, this was correctly fixed by adding a long...
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Jun 2006 20:37:47 +0000 (20:37 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Jun 2006 20:37:47 +0000 (20:37 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15033 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/dom/Document.cpp

index 452ba7d..0538047 100644 (file)
@@ -3038,7 +3038,7 @@ void Document::shiftMarkers(Node *node, unsigned startOffset, int delta, Documen
             docDirty = true;
             
             // Marker moved, so previously-computed rendered rectangle is now invalid
-            rects[(unsigned)(uintptr_t)(it - markers.begin())] = placeholderRectForMarker();
+            rects[it - markers.begin()] = placeholderRectForMarker();
         }
     }