Changeset 107270 in webkit


Ignore:
Timestamp:
Feb 9, 2012 12:04:02 PM (12 years ago)
Author:
wangxianzhu@chromium.org
Message:

Unnecessary and incorrect invalidation about composited fixed-position layers
https://bugs.webkit.org/show_bug.cgi?id=75638

When a FrameView scrolls, composited fixed-position layers should
not contribute to the invalidation rect of the root layer.

Reviewed by Simon Fraser.

No new tests. Haven't found a good way to test this programatically.

  • page/FrameView.cpp:

(WebCore::FrameView::scrollContentsFastPath):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r107266 r107270  
     12012-02-09  Xianzhu Wang  <wangxianzhu@chromium.org>
     2
     3        Unnecessary and incorrect invalidation about composited fixed-position layers
     4        https://bugs.webkit.org/show_bug.cgi?id=75638
     5
     6        When a FrameView scrolls, composited fixed-position layers should
     7        not contribute to the invalidation rect of the root layer.
     8
     9        Reviewed by Simon Fraser.
     10
     11        No new tests. Haven't found a good way to test this programatically.
     12
     13        * page/FrameView.cpp:
     14        (WebCore::FrameView::scrollContentsFastPath):
     15
    1162012-02-09  Sheriff Bot  <webkit.review.bot@gmail.com>
    217
  • trunk/Source/WebCore/page/FrameView.cpp

    r107168 r107270  
    14641464        if (renderBox->style()->position() != FixedPosition)
    14651465            continue;
     1466#if USE(ACCELERATED_COMPOSITING)
     1467        if (renderBox->layer()->isComposited())
     1468            continue;
     1469#endif
    14661470        IntRect updateRect = renderBox->layer()->repaintRectIncludingDescendants();
    14671471        updateRect = contentsToRootView(updateRect);
Note: See TracChangeset for help on using the changeset viewer.