When closing tab, CoordinatedGraphicsScene object is not freed because reference count of object is not zero.
Created attachment 192696 [details] proposed patch
Created attachment 192697 [details] proposed patch
Attachment 192696 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp']" exit_code: 1 Source/WebCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 192699 [details] new patch
Created attachment 192700 [details] new patch
Created attachment 192701 [details] new patch
good! but we still have some accumulation of unused memory.
Comment on attachment 192701 [details] new patch View in context: https://bugs.webkit.org/attachment.cgi?id=192701&action=review > Source/WebCore/ChangeLog:9 > + When closing tab, if there is any updates in renderQueue of > + CoordinatedGraphicsScene, m_scene(CoordinatedGraphicsScene) is not freed because When closing a tab, if there are any updates pending in CoordinatedGraphicsScene's render queue, the scene is not freed because
Created attachment 192845 [details] patch
(In reply to comment #8) > (From update of attachment 192701 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=192701&action=review > > > Source/WebCore/ChangeLog:9 > > + When closing tab, if there is any updates in renderQueue of > > + CoordinatedGraphicsScene, m_scene(CoordinatedGraphicsScene) is not freed because > > When closing a tab, if there are any updates pending in CoordinatedGraphicsScene's render queue, the scene is not freed because Fixed. Thanks for the review.
Created attachment 194773 [details] fixed patch
Comment on attachment 194773 [details] fixed patch Clearing flags on attachment: 194773 Committed r146747: <http://trac.webkit.org/changeset/146747>