summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RenderBox.h')
-rw-r--r--WebCore/rendering/RenderBox.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/rendering/RenderBox.h b/WebCore/rendering/RenderBox.h
index 2ee368d..68bbd51 100644
--- a/WebCore/rendering/RenderBox.h
+++ b/WebCore/rendering/RenderBox.h
@@ -73,7 +73,7 @@ public:
FloatQuad absoluteContentQuad() const;
// Bounds of the outline box in absolute coords. Respects transforms
- virtual IntRect outlineBoundsForRepaint(RenderBoxModelObject* /*repaintContainer*/) const;
+ virtual IntRect outlineBoundsForRepaint(RenderBoxModelObject* /*repaintContainer*/, IntPoint* cachedOffsetToRepaintContainer) const;
virtual void addFocusRingRects(Vector<IntRect>&, int tx, int ty);
// Use this with caution! No type checking is done!
@@ -271,9 +271,9 @@ public:
virtual void paintMask(PaintInfo&, int tx, int ty);
virtual void imageChanged(WrappedImagePtr, const IntRect* = 0);
- // Called when a positioned object moves but doesn't change size. A simplified layout is done
- // that just updates the object's position.
- virtual void tryLayoutDoingPositionedMovementOnly()
+ // Called when a positioned object moves but doesn't necessarily change size. A simplified layout is attempted
+ // that just updates the object's position. If the size does change, the object remains dirty.
+ void tryLayoutDoingPositionedMovementOnly()
{
int oldWidth = width();
calcWidth();