Bug 143513 - Rename ActiveDOMObject::canSuspend() to canSuspendForPageCache() for clarity
Summary: Rename ActiveDOMObject::canSuspend() to canSuspendForPageCache() for clarity
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-07 21:58 PDT by Chris Dumez
Modified: 2015-04-08 09:46 PDT (History)
2 users (show)

See Also:


Attachments
Patch (48.63 KB, patch)
2015-04-07 22:03 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2015-04-07 21:58:09 PDT
Rename ActiveDOMObject::canSuspend() to canSuspendForPageCache() for clarity as it is only used for the page cache. Also rename the 'DocumentWillBecomeInactive' value of the ReasonForSuspension enum to 'PageCache' as it is only used by CachedFrame for the page cache and it is a lot more understandable.
Comment 1 Chris Dumez 2015-04-07 22:03:12 PDT
Created attachment 250333 [details]
Patch
Comment 2 WebKit Commit Bot 2015-04-08 09:45:57 PDT
Comment on attachment 250333 [details]
Patch

Clearing flags on attachment: 250333

Committed r182544: <http://trac.webkit.org/changeset/182544>
Comment 3 WebKit Commit Bot 2015-04-08 09:46:02 PDT
All reviewed patches have been landed.  Closing bug.