[Webkit-unassigned] [Bug 166568] [GTK] ASSERTION FAILED: !source || is<Target>(*source) in CoordinatedGraphicsLayer::removeFromParent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 1 08:05:25 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=166568

--- Comment #5 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to Michael Catanzaro from comment #4)
> The problem is the parent layer has already been destroyed. But, from code
> inspection, it looks like that should be impossible. I'm missing something.

More specifically, the problem is that, at the time the parent layer was destroyed, it had no children, i.e. its m_children.size() was 0, so it did not unparent the child layer when destroyed, because it did not know about the child layer. But the child layer still holds a dangling pointer to the parent layer.

Remaining question is why.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171201/402e41e4/attachment-0001.html>


More information about the webkit-unassigned mailing list