Bug 139705 - Move Mac process suppression from WebCore to WebKit2
Summary: Move Mac process suppression from WebCore to WebKit2
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Gavin Barraclough
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-16 14:06 PST by Gavin Barraclough
Modified: 2014-12-16 14:30 PST (History)
0 users

See Also:


Attachments
Fix (15.99 KB, patch)
2014-12-16 14:16 PST, Gavin Barraclough
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Barraclough 2014-12-16 14:06:08 PST
Currently PageThrottler constructs the PageActivityState, holds a copy of the ViewState,
and an optional UserActivity.

Instead, still construct the PageActivityState but just pass this out via the Page to WebPage.
Logic From PageThrottler::updateUserActivity merged into WebPage::updateUserActivity.
Comment 1 Gavin Barraclough 2014-12-16 14:16:34 PST
Created attachment 243393 [details]
Fix
Comment 2 Geoffrey Garen 2014-12-16 14:21:25 PST
Comment on attachment 243393 [details]
Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=243393&action=review

r=me

> Source/WebCore/page/Page.h:294
> +    void setPageActivityState(PageActivityState::Flags);

Seems like this should just be named "setActivityState" and "ActivityState".
Comment 3 Gavin Barraclough 2014-12-16 14:30:54 PST
PageThrottler needs a new name too (since it no longer throttles!), will rename in a follow up.

Transmitting file data ............
Committed revision 177396.