Changeset 20461 in webkit


Ignore:
Timestamp:
Mar 24, 2007 12:07:24 AM (17 years ago)
Author:
hyatt
Message:

Fix for <rdar://problem/508328>, sluggish text entry in search field. Make sure
our size actually changed before we decide to do a full repaint because of background/border
complexities.

Reviewed by aroben

  • rendering/RenderObject.cpp: (WebCore::RenderObject::repaintAfterLayoutIfNeeded):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r20460 r20461  
     12007-03-24  David Hyatt  <hyatt@apple.com>
     2
     3        Fix for <rdar://problem/508328>, sluggish text entry in search field.  Make sure
     4        our size actually changed before we decide to do a full repaint because of background/border
     5        complexities.
     6
     7        Reviewed by aroben
     8
     9        * rendering/RenderObject.cpp:
     10        (WebCore::RenderObject::repaintAfterLayoutIfNeeded):
     11
    1122007-03-23  Dave Hyatt  <hyatt@apple.com>
    213
  • trunk/WebCore/rendering/RenderObject.cpp

    r20349 r20461  
    17441744    IntRect newOutlineBox;
    17451745
    1746     bool fullRepaint = selfNeedsLayout() || mustRepaintBackgroundOrBorder();
     1746    bool fullRepaint = selfNeedsLayout();
    17471747    if (!fullRepaint) {
    17481748        newOutlineBox = absoluteOutlineBox();
    17491749        if (newOutlineBox.location() != oldOutlineBox.location())
     1750            fullRepaint = true;
     1751        else if (mustRepaintBackgroundOrBorder() && (newBounds != oldBounds || newOutlineBox != oldOutlineBox))
    17501752            fullRepaint = true;
    17511753    }
Note: See TracChangeset for help on using the changeset viewer.