Changeset 245921 in webkit
- Timestamp:
- May 30, 2019, 5:30:01 PM (7 years ago)
- Location:
- branches/safari-607-branch
- Files:
-
- 3 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/http/tests/svg/crash-on-reload-with-filter-expected.txt (added)
-
LayoutTests/http/tests/svg/crash-on-reload-with-filter.html (added)
-
LayoutTests/http/tests/svg/resources/finishTest.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/svg/RenderSVGResourceContainer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-607-branch/LayoutTests/ChangeLog
r245917 r245921 1 2019-05-30 Kocsen Chung <kocsen_chung@apple.com> 2 3 Cherry-pick r245300. rdar://problem/51264763 4 5 Do not try to issue repaint while the render tree is being destroyed. 6 https://bugs.webkit.org/show_bug.cgi?id=197461 7 <rdar://problem/50368992> 8 9 Reviewed by Simon Fraser. 10 11 Source/WebCore: 12 13 Test: http/tests/svg/crash-on-reload-with-filter.html 14 15 We don't need to compute repaint rects when the render tree is getting torn down. We'll issue a full repaint at some point. 16 Also during full render tree destruction the inline tree state is undefined. We should avoid accessing it. 17 18 * rendering/svg/RenderSVGResourceContainer.cpp: 19 (WebCore::RenderSVGResourceContainer::markAllClientLayersForInvalidation): 20 21 LayoutTests: 22 23 * http/tests/svg/crash-on-reload-with-filter-expected.txt: Added. 24 * http/tests/svg/crash-on-reload-with-filter.html: Added. 25 * http/tests/svg/resources/finishTest.html: Added. 26 27 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245300 268f45cc-cd09-0410-ab3c-d52691b4dbfc 28 29 2019-05-14 Zalan Bujtas <zalan@apple.com> 30 31 Do not try to issue repaint while the render tree is being destroyed. 32 https://bugs.webkit.org/show_bug.cgi?id=197461 33 <rdar://problem/50368992> 34 35 Reviewed by Simon Fraser. 36 37 * http/tests/svg/crash-on-reload-with-filter-expected.txt: Added. 38 * http/tests/svg/crash-on-reload-with-filter.html: Added. 39 * http/tests/svg/resources/finishTest.html: Added. 40 1 41 2019-05-30 Kocsen Chung <kocsen_chung@apple.com> 2 42 -
branches/safari-607-branch/Source/WebCore/ChangeLog
r245916 r245921 1 2019-05-30 Kocsen Chung <kocsen_chung@apple.com> 2 3 Cherry-pick r245300. rdar://problem/51264763 4 5 Do not try to issue repaint while the render tree is being destroyed. 6 https://bugs.webkit.org/show_bug.cgi?id=197461 7 <rdar://problem/50368992> 8 9 Reviewed by Simon Fraser. 10 11 Source/WebCore: 12 13 Test: http/tests/svg/crash-on-reload-with-filter.html 14 15 We don't need to compute repaint rects when the render tree is getting torn down. We'll issue a full repaint at some point. 16 Also during full render tree destruction the inline tree state is undefined. We should avoid accessing it. 17 18 * rendering/svg/RenderSVGResourceContainer.cpp: 19 (WebCore::RenderSVGResourceContainer::markAllClientLayersForInvalidation): 20 21 LayoutTests: 22 23 * http/tests/svg/crash-on-reload-with-filter-expected.txt: Added. 24 * http/tests/svg/crash-on-reload-with-filter.html: Added. 25 * http/tests/svg/resources/finishTest.html: Added. 26 27 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245300 268f45cc-cd09-0410-ab3c-d52691b4dbfc 28 29 2019-05-14 Zalan Bujtas <zalan@apple.com> 30 31 Do not try to issue repaint while the render tree is being destroyed. 32 https://bugs.webkit.org/show_bug.cgi?id=197461 33 <rdar://problem/50368992> 34 35 Reviewed by Simon Fraser. 36 37 Test: http/tests/svg/crash-on-reload-with-filter.html 38 39 We don't need to compute repaint rects when the render tree is getting torn down. We'll issue a full repaint at some point. 40 Also during full render tree destruction the inline tree state is undefined. We should avoid accessing it. 41 42 * rendering/svg/RenderSVGResourceContainer.cpp: 43 (WebCore::RenderSVGResourceContainer::markAllClientLayersForInvalidation): 44 1 45 2019-05-30 Kocsen Chung <kocsen_chung@apple.com> 2 46 -
branches/safari-607-branch/Source/WebCore/rendering/svg/RenderSVGResourceContainer.cpp
r232018 r245921 123 123 void RenderSVGResourceContainer::markAllClientLayersForInvalidation() 124 124 { 125 if (m_clientLayers.isEmpty()) 126 return; 127 if ((*m_clientLayers.begin())->renderer().renderTreeBeingDestroyed()) 128 return; 125 129 for (auto* clientLayer : m_clientLayers) 126 130 clientLayer->filterNeedsRepaint();
Note:
See TracChangeset
for help on using the changeset viewer.