Changeset 211730 in webkit
- Timestamp:
- Feb 6, 2017 9:35:12 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r211729 r211730 1 2017-02-06 Antti Koivisto <antti@apple.com> 2 3 CrashTracer: com.apple.WebKit.WebContent at WebCore: WebCore::Node::invalidateStyle 4 https://bugs.webkit.org/show_bug.cgi?id=167878 5 rdar://problem/30251840 6 7 Reviewed by Andreas Kling. 8 9 Speculative fix. 10 11 We are trying to invalidate a null node from ~PostResolutionCallbackDisabler. Looks like the only way 12 this could happen is if HTMLFrameOwnerElement::scheduleinvalidateStyleAndLayerComposition is called 13 with null 'this'. There is one place where this might happen. 14 15 * rendering/RenderLayerCompositor.cpp: 16 (WebCore::RenderLayerCompositor::attachRootLayer): Add null check. 17 1 18 2017-02-06 Ryan Haddad <ryanhaddad@apple.com> 2 19 -
trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp
r211683 r211730 3460 3460 // The layer will get hooked up via RenderLayerBacking::updateConfiguration() 3461 3461 // for the frame's renderer in the parent document. 3462 m_renderView.document().ownerElement()->scheduleinvalidateStyleAndLayerComposition(); 3462 if (auto* ownerElement = m_renderView.document().ownerElement()) 3463 ownerElement->scheduleinvalidateStyleAndLayerComposition(); 3463 3464 break; 3464 3465 }
Note: See TracChangeset
for help on using the changeset viewer.