Changeset 155018 in webkit


Ignore:
Timestamp:
Sep 3, 2013 9:49:23 PM (11 years ago)
Author:
akling@apple.com
Message:

ASSERTION FAILED: frame().view() == this closing a page with SVG or video
<https://webkit.org/b/120645>

Reviewed by Antti Koivisto.

Have RenderSVGResourceContainer check if the document is being destroyed before
triggering any repaints. This replaces the previous check for a null RenderView
which meant basically the same thing.

We could add more and better assertions to catch unnecessary work during tree
teardown, but let's do that separately.

  • rendering/svg/RenderSVGResourceContainer.cpp:

(WebCore::RenderSVGResourceContainer::markClientForInvalidation):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r155016 r155018  
     12013-09-03  Andreas Kling  <akling@apple.com>
     2
     3        ASSERTION FAILED: frame().view() == this closing a page with SVG or video
     4        <https://webkit.org/b/120645>
     5
     6        Reviewed by Antti Koivisto.
     7
     8        Have RenderSVGResourceContainer check if the document is being destroyed before
     9        triggering any repaints. This replaces the previous check for a null RenderView
     10        which meant basically the same thing.
     11
     12        We could add more and better assertions to catch unnecessary work during tree
     13        teardown, but let's do that separately.
     14
     15        * rendering/svg/RenderSVGResourceContainer.cpp:
     16        (WebCore::RenderSVGResourceContainer::markClientForInvalidation):
     17
    1182013-09-03  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    219
  • trunk/Source/WebCore/rendering/svg/RenderSVGResourceContainer.cpp

    r154877 r155018  
    140140        break;
    141141    case RepaintInvalidation:
    142         client->repaint();
     142        if (!client->documentBeingDestroyed())
     143            client->repaint();
    143144        break;
    144145    case ParentOnlyInvalidation:
Note: See TracChangeset for help on using the changeset viewer.