Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r175485 - RenderCounter shouldn't need a pre-destructor hook.
<https://webkit.org/b/138316> Reviewed by Antti Koivisto. RenderCounter will automatically register/unregister itself with the RenderView when constructed/destroyed. It was using a willBeDestroyed() hook because it used to be that you couldn't get to the RenderView in the destructor. That's no longer an issue as Document promises that RenderView is the last render tree node to go away. * rendering/RenderCounter.cpp: (WebCore::RenderCounter::~RenderCounter): (WebCore::RenderCounter::willBeDestroyed): Deleted. * rendering/RenderCounter.h: Canonical link: https://commits.webkit.org/154760.184@webkitgtk/2.6 git-svn-id: https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.6@175943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
a776c42
commit 682d73c
Showing
3 changed files
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters