Title: [232339] tags/Safari-606.1.19/Source/WebKit
- Revision
- 232339
- Author
- [email protected]
- Date
- 2018-05-30 23:51:32 -0700 (Wed, 30 May 2018)
Log Message
Cherry-pick r232298. rdar://problem/40651225
Take a background process assertion in WebPageProxy::callAfterNextPresentationUpdate()
https://bugs.webkit.org/show_bug.cgi?id=186097
<rdar://problem/40651225>
Reviewed by Tim Horton.
Take a background process assertion in WebPageProxy::callAfterNextPresentationUpdate(). Otherwise,
apps may get stuck on _doAfterNextPresentationUpdate because the WebProcess got suspended.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::callAfterNextPresentationUpdate):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: tags/Safari-606.1.19/Source/WebKit/ChangeLog (232338 => 232339)
--- tags/Safari-606.1.19/Source/WebKit/ChangeLog 2018-05-31 06:41:41 UTC (rev 232338)
+++ tags/Safari-606.1.19/Source/WebKit/ChangeLog 2018-05-31 06:51:32 UTC (rev 232339)
@@ -1,3 +1,36 @@
+2018-05-30 Kocsen Chung <[email protected]>
+
+ Cherry-pick r232298. rdar://problem/40651225
+
+ Take a background process assertion in WebPageProxy::callAfterNextPresentationUpdate()
+ https://bugs.webkit.org/show_bug.cgi?id=186097
+ <rdar://problem/40651225>
+
+ Reviewed by Tim Horton.
+
+ Take a background process assertion in WebPageProxy::callAfterNextPresentationUpdate(). Otherwise,
+ apps may get stuck on _doAfterNextPresentationUpdate because the WebProcess got suspended.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::callAfterNextPresentationUpdate):
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2018-05-30 Chris Dumez <[email protected]>
+
+ Take a background process assertion in WebPageProxy::callAfterNextPresentationUpdate()
+ https://bugs.webkit.org/show_bug.cgi?id=186097
+ <rdar://problem/40651225>
+
+ Reviewed by Tim Horton.
+
+ Take a background process assertion in WebPageProxy::callAfterNextPresentationUpdate(). Otherwise,
+ apps may get stuck on _doAfterNextPresentationUpdate because the WebProcess got suspended.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::callAfterNextPresentationUpdate):
+
2018-05-29 Tim Horton <[email protected]>
Fix the build
Modified: tags/Safari-606.1.19/Source/WebKit/UIProcess/WebPageProxy.cpp (232338 => 232339)
--- tags/Safari-606.1.19/Source/WebKit/UIProcess/WebPageProxy.cpp 2018-05-31 06:41:41 UTC (rev 232338)
+++ tags/Safari-606.1.19/Source/WebKit/UIProcess/WebPageProxy.cpp 2018-05-31 06:51:32 UTC (rev 232339)
@@ -7351,7 +7351,9 @@
return;
}
- m_drawingArea->dispatchAfterEnsuringDrawing(WTFMove(callback));
+ m_drawingArea->dispatchAfterEnsuringDrawing([callback = WTFMove(callback), backgroundActivity = m_process->throttler().backgroundActivityToken()](CallbackBase::Error error) {
+ callback(error);
+ });
}
void WebPageProxy::setShouldScaleViewToFitDocument(bool shouldScaleViewToFitDocument)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes