Changeset 56831 in webkit
- Timestamp:
- Mar 31, 2010 2:50:02 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r56829 r56831 1 2010-03-31 Benjamin Poulain <benjamin.poulain@nokia.com> 2 3 Reviewed by Darin Adler. 4 5 tryLayoutDoingPositionedMovementOnly does not have to be in RenderObject or be virtual 6 https://bugs.webkit.org/show_bug.cgi?id=36810 7 8 Move tryLayoutDoingPositionedMovementOnly as a regular method of RenderBox 9 10 * rendering/RenderBox.h: 11 (WebCore::RenderBox::tryLayoutDoingPositionedMovementOnly): 12 * rendering/RenderObject.h: 13 1 14 2010-03-31 John Gregg <johnnyg@google.com> 2 15 -
trunk/WebCore/rendering/RenderBox.h
r54784 r56831 272 272 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); 273 273 274 // Called when a positioned object moves but doesn't change size. A simplified layout is done275 // that just updates the object's position. 276 v irtual void tryLayoutDoingPositionedMovementOnly()274 // Called when a positioned object moves but doesn't necessarily change size. A simplified layout is attempted 275 // that just updates the object's position. If the size does change, the object remains dirty. 276 void tryLayoutDoingPositionedMovementOnly() 277 277 { 278 278 int oldWidth = width(); -
trunk/WebCore/rendering/RenderObject.h
r56655 r56831 516 516 /* This function performs a layout only if one is needed. */ 517 517 void layoutIfNeeded() { if (needsLayout()) layout(); } 518 519 // Called when a positioned object moves but doesn't necessarily change size. A simplified layout is attempted520 // that just updates the object's position. If the size does change, the object remains dirty.521 virtual void tryLayoutDoingPositionedMovementOnly() { }522 518 523 519 // used for element state updates that cannot be fixed with a
Note: See TracChangeset
for help on using the changeset viewer.