Title: [287212] branches/safari-612-branch/Source/WebKit
Revision
287212
Author
[email protected]
Date
2021-12-17 15:20:06 -0800 (Fri, 17 Dec 2021)

Log Message

Apply patch. rdar://problem/86635432

Modified Paths


Diff

Modified: branches/safari-612-branch/Source/WebKit/ChangeLog (287211 => 287212)


--- branches/safari-612-branch/Source/WebKit/ChangeLog	2021-12-17 23:17:32 UTC (rev 287211)
+++ branches/safari-612-branch/Source/WebKit/ChangeLog	2021-12-17 23:20:06 UTC (rev 287212)
@@ -1,3 +1,19 @@
+2021-12-17  Russell Epstein  <[email protected]>
+
+        Apply patch. rdar://problem/86635432
+
+    2021-12-17  Simon Fraser  <[email protected]>
+
+            rdar://86635432 (CrashTracer: Safari at com.apple.WebKit: WebKit::DisplayLink::decrementFullSpeedRequestClientCount)
+
+            Reviewed by Chris Dumez.
+
+            We need to check m_process->hasConnection() rather than hasRunningProcess(), since there
+            is a window of time where hasRunningProcess() is true but we don't have a connection yet.
+
+            * UIProcess/WebPageProxy.cpp:
+            (WebKit::WebPageProxy::windowScreenDidChange):
+
 2021-12-14  Alan Coon  <[email protected]>
 
         Cherry-pick r286999. rdar://problem/86425321

Modified: branches/safari-612-branch/Source/WebKit/UIProcess/WebPageProxy.cpp (287211 => 287212)


--- branches/safari-612-branch/Source/WebKit/UIProcess/WebPageProxy.cpp	2021-12-17 23:17:32 UTC (rev 287211)
+++ branches/safari-612-branch/Source/WebKit/UIProcess/WebPageProxy.cpp	2021-12-17 23:20:06 UTC (rev 287212)
@@ -4005,7 +4005,7 @@
 void WebPageProxy::windowScreenDidChange(PlatformDisplayID displayID, std::optional<unsigned> nominalFramesPerSecond)
 {
 #if HAVE(CVDISPLAYLINK)
-    if (hasRunningProcess() && m_displayID && m_registeredForFullSpeedUpdates)
+    if (m_process->hasConnection() && m_displayID && m_registeredForFullSpeedUpdates)
         process().processPool().setDisplayLinkForDisplayWantsFullSpeedUpdates(*m_process->connection(), *m_displayID, false);
 
     m_registeredForFullSpeedUpdates = false;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to