Changeset 142136 in webkit


Ignore:
Timestamp:
Feb 7, 2013 8:46:49 AM (11 years ago)
Author:
mikhail.pozdnyakov@intel.com
Message:

[WK2][EFL][QT]REGRESSION(r142045): Scrolling is broken
https://bugs.webkit.org/show_bug.cgi?id=109185

Reviewed by Kenneth Rohde Christiansen.

This patch is disabling paints clipping logic added at r142045 for the case
when the view should render the entire contents (case of using tiled backing store).

No new tests, covered by plenty of existing manual tests that allow scrolling
(for example fixed-position.html).

  • platform/ScrollView.cpp:

(WebCore::ScrollView::paint):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r142132 r142136  
     12013-02-07  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
     2
     3        [WK2][EFL][QT]REGRESSION(r142045): Scrolling is broken
     4        https://bugs.webkit.org/show_bug.cgi?id=109185
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        This patch is disabling paints clipping logic added at r142045 for the case
     9        when the view should render the entire contents (case of using tiled backing store).
     10
     11        No new tests, covered by plenty of existing manual tests that allow scrolling
     12        (for example fixed-position.html).
     13
     14        * platform/ScrollView.cpp:
     15        (WebCore::ScrollView::paint):
     16
    1172013-02-07  Vladislav Kaznacheev  <kaznacheev@chromium.org>
    218
  • trunk/Source/WebCore/platform/ScrollView.cpp

    r142045 r142136  
    10531053
    10541054    IntRect documentDirtyRect = rect;
    1055     IntRect visibleAreaWithoutScrollbars(location(), visibleContentRect(false).size());
    1056     documentDirtyRect.intersect(visibleAreaWithoutScrollbars);
     1055    if (!paintsEntireContents()) {
     1056        IntRect visibleAreaWithoutScrollbars(location(), visibleContentRect(false).size());
     1057        documentDirtyRect.intersect(visibleAreaWithoutScrollbars);
     1058    }
    10571059
    10581060    if (!documentDirtyRect.isEmpty()) {
Note: See TracChangeset for help on using the changeset viewer.