Bug 60816 - Backing store may not get discarded due to stopped timer
Summary: Backing store may not get discarded due to stopped timer
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Michael Saboff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 16:33 PDT by Michael Saboff
Modified: 2011-05-13 17:03 PDT (History)
1 user (show)

See Also:


Attachments
Patch to restart timer when view state change allows the backing store to be deleted. (2.06 KB, patch)
2011-05-13 16:50 PDT, Michael Saboff
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Saboff 2011-05-13 16:33:42 PDT
The backing store timer (m_discardBackingStoreTimer) can get stopped and never restarted when a window is made the active window.

This causes a minor memory regression.
Comment 1 Michael Saboff 2011-05-13 16:50:57 PDT
Created attachment 93532 [details]
Patch to restart timer when view state change allows the backing store to be deleted.
Comment 2 Geoffrey Garen 2011-05-13 16:52:08 PDT
r=me
Comment 3 Michael Saboff 2011-05-13 17:03:33 PDT
Committed r86473: <http://trac.webkit.org/changeset/86473>