RESOLVED FIXED 139600
Split WebPageProxy::m_preventProcessSuppression to track pref/visibility separately
https://bugs.webkit.org/show_bug.cgi?id=139600
Summary Split WebPageProxy::m_preventProcessSuppression to track pref/visibility sepa...
Gavin Barraclough
Reported 2014-12-12 15:44:40 PST
Previously WebPageProxy::m_preventProcessSuppression would be set if either the page was visible or it suppression was disabled by the pref. Instead track these separately. This will make the user observability state applicable on iOS, too.
Attachments
Fix (7.45 KB, patch)
2014-12-12 15:53 PST, Gavin Barraclough
ggaren: review+
Gavin Barraclough
Comment 1 2014-12-12 15:53:32 PST
WebKit Commit Bot
Comment 2 2014-12-12 15:54:52 PST
Attachment 243223 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/WebContext.cpp:198: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Geoffrey Garen
Comment 3 2014-12-12 15:59:35 PST
Comment on attachment 243223 [details] Fix View in context: https://bugs.webkit.org/attachment.cgi?id=243223&action=review r=me > Source/WebKit2/ChangeLog:9 > + or it suppression was disabled by the pref. Instead track these separately. This will make the "its" > Source/WebKit2/ChangeLog:13 > + ::updateProccessSuppressionState continues to track the pref change (which matches it's name), "its" > Source/WebKit2/UIProcess/WebPageProxy.h:1586 > + RefPtr<RefCounter::Count> m_pageIsUserObservable; > + RefPtr<RefCounter::Count> m_preventProcessSuppression; I wonder if we should put "Count" at the ends of these names.
Gavin Barraclough
Comment 4 2014-12-12 17:43:50 PST
Transmitting file data ...... Committed revision 177255.
Note You need to log in before you can comment on or make changes to this bug.