Changeset 205510 in webkit


Ignore:
Timestamp:
Sep 6, 2016 2:53:07 PM (8 years ago)
Author:
Alan Bujtas
Message:

ASSERTION FAILED: !paintInfo.overlapTestRequests->contains(this) in WebCore::RenderWidget::paintContents
https://bugs.webkit.org/show_bug.cgi?id=135602
<rdar://problem/27701733>

Reviewed by Simon Fraser.

Source/WebCore:

ASSERT is updated to support multiple fragments painting. We just have to ensure that the FrameView's rect
has not changed between the 2 paintContents calls.

Test: fast/layers/assert-on-overlap-testing-with-frames-inside-columns.html

  • rendering/RenderWidget.cpp:

(WebCore::RenderWidget::paintContents):

LayoutTests:

  • fast/layers/assert-on-overlap-testing-with-frames-inside-columns-expected.txt: Added.
  • fast/layers/assert-on-overlap-testing-with-frames-inside-columns.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r205505 r205510  
     12016-09-06  Zalan Bujtas  <zalan@apple.com>
     2
     3        ASSERTION FAILED: !paintInfo.overlapTestRequests->contains(this) in WebCore::RenderWidget::paintContents
     4        https://bugs.webkit.org/show_bug.cgi?id=135602
     5        <rdar://problem/27701733>
     6
     7        Reviewed by Simon Fraser.
     8
     9        * fast/layers/assert-on-overlap-testing-with-frames-inside-columns-expected.txt: Added.
     10        * fast/layers/assert-on-overlap-testing-with-frames-inside-columns.html: Added.
     11
    1122016-09-06  Simon Fraser  <simon.fraser@apple.com>
    213
  • trunk/Source/WebCore/ChangeLog

    r205507 r205510  
     12016-09-06  Zalan Bujtas  <zalan@apple.com>
     2
     3        ASSERTION FAILED: !paintInfo.overlapTestRequests->contains(this) in WebCore::RenderWidget::paintContents
     4        https://bugs.webkit.org/show_bug.cgi?id=135602
     5        <rdar://problem/27701733>
     6
     7        Reviewed by Simon Fraser.
     8
     9        ASSERT is updated to support multiple fragments painting. We just have to ensure that the FrameView's rect
     10        has not changed between the 2 paintContents calls. 
     11
     12        Test: fast/layers/assert-on-overlap-testing-with-frames-inside-columns.html
     13
     14        * rendering/RenderWidget.cpp:
     15        (WebCore::RenderWidget::paintContents):
     16
    1172016-09-06  Commit Queue  <commit-queue@webkit.org>
    218
  • trunk/Source/WebCore/rendering/RenderWidget.cpp

    r201040 r205510  
    242242        bool runOverlapTests = !frameView.useSlowRepaintsIfNotOverlapped();
    243243        if (paintInfo.overlapTestRequests && runOverlapTests) {
    244             ASSERT(!paintInfo.overlapTestRequests->contains(this));
     244            ASSERT(!paintInfo.overlapTestRequests->contains(this) || (paintInfo.overlapTestRequests->get(this) == m_widget->frameRect()));
    245245            paintInfo.overlapTestRequests->set(this, m_widget->frameRect());
    246246        }
Note: See TracChangeset for help on using the changeset viewer.