Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r175475 - RenderLayerModelObject shouldn't need a pre-destructo…
…r hook. <https://webkit.org/b/138314> Reviewed by Antti Koivisto. Move code from the willBeDestroyed() pre-destructor hook to the regular ~RenderLayerModelObject() destructor. We just need to unregister the renderer from the FrameView's set of viewport-constrained objects. That doesn't require being able to walk the render tree or call virtuals, which is the main reason you'd use willBeDestroyed(). * rendering/RenderLayerModelObject.cpp: (WebCore::RenderLayerModelObject::~RenderLayerModelObject): (WebCore::RenderLayerModelObject::willBeDestroyed): Deleted. * rendering/RenderLayerModelObject.h: Canonical link: https://commits.webkit.org/154760.182@webkitgtk/2.6 git-svn-id: https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.6@175940 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
45c365c
commit 6e65862
Showing
3 changed files
with
25 additions
and
13 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