Changeset 213276 in webkit
- Timestamp:
- Mar 2, 2017 3:44:41 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r213274 r213276 1 2017-03-02 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] Crash in WebCore::CoordinatedGraphicsLayer::notifyFlushRequired 4 https://bugs.webkit.org/show_bug.cgi?id=166420 5 6 Reviewed by Žan Doberšek. 7 8 This is happening when closing a page that is being inspected. When CoordinatedGraphicsLayer::removeFromParent() 9 is called, the coordinator has already been invalidated, so all its layers were set a nullptr coordinator. I 10 think it's safe to simply handle m_coordinator being nullptr in notifyFlushRequired(). 11 12 * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp: 13 (WebCore::CoordinatedGraphicsLayer::notifyFlushRequired): Return early if the coordinator is nullptr. 14 1 15 2017-03-02 Andreas Kling <akling@apple.com> 2 16 -
trunk/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
r212638 r213276 54 54 void CoordinatedGraphicsLayer::notifyFlushRequired() 55 55 { 56 ASSERT(m_coordinator); 56 if (!m_coordinator) 57 return; 58 57 59 if (m_coordinator->isFlushingLayerChanges()) 58 60 return;
Note: See TracChangeset
for help on using the changeset viewer.