Add assert verifying all renderers get destroyed
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Oct 2017 18:52:08 +0000 (18:52 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Oct 2017 18:52:08 +0000 (18:52 +0000)
commit2794a4fc1e6ef3172e0939ee7f44da79e6e06ace
tree7b4d5d33cfa69c7f317afe56a3b058b76ad690cc
parent1111972abca435b1446471d3b72da8c97571c123
Add assert verifying all renderers get destroyed
https://bugs.webkit.org/show_bug.cgi?id=177870

Reviewed by Zalan Bujtas.

* rendering/RenderView.cpp:
(WebCore::RenderView::willBeDestroyed):

    Add assert to verify all renderers for this tree have been destroyed before the RenderView is.

* rendering/RenderView.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderView.cpp
Source/WebCore/rendering/RenderView.h