Title: [253071] trunk/Source/WebKit
Revision
253071
Author
cdu...@apple.com
Date
2019-12-03 16:34:42 -0800 (Tue, 03 Dec 2019)

Log Message

Use a 3 second timeout for the view gesture snapshot on macOS
https://bugs.webkit.org/show_bug.cgi?id=204818

Reviewed by Tim Horton.

Use a 3 second timeout for the view gesture snapshot on macOS, for consistency with iOS.
It used to be 5 seconds on macOS.

* UIProcess/ViewGestureController.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (253070 => 253071)


--- trunk/Source/WebKit/ChangeLog	2019-12-04 00:16:40 UTC (rev 253070)
+++ trunk/Source/WebKit/ChangeLog	2019-12-04 00:34:42 UTC (rev 253071)
@@ -1,5 +1,17 @@
 2019-12-03  Chris Dumez  <cdu...@apple.com>
 
+        Use a 3 second timeout for the view gesture snapshot on macOS
+        https://bugs.webkit.org/show_bug.cgi?id=204818
+
+        Reviewed by Tim Horton.
+
+        Use a 3 second timeout for the view gesture snapshot on macOS, for consistency with iOS.
+        It used to be 5 seconds on macOS.
+
+        * UIProcess/ViewGestureController.cpp:
+
+2019-12-03  Chris Dumez  <cdu...@apple.com>
+
         REGRESSION (r252778): ASSERT(!m_networkLoad); in ~SpeculativeLoad()
         https://bugs.webkit.org/show_bug.cgi?id=204813
         <rdar://problem/57581082>

Modified: trunk/Source/WebKit/UIProcess/ViewGestureController.cpp (253070 => 253071)


--- trunk/Source/WebKit/UIProcess/ViewGestureController.cpp	2019-12-04 00:16:40 UTC (rev 253070)
+++ trunk/Source/WebKit/UIProcess/ViewGestureController.cpp	2019-12-04 00:34:42 UTC (rev 253071)
@@ -52,12 +52,7 @@
 
 static const Seconds swipeSnapshotRemovalWatchdogAfterFirstVisuallyNonEmptyLayoutDuration { 3_s };
 static const Seconds swipeSnapshotRemovalActiveLoadMonitoringInterval { 250_ms };
-
-#if !PLATFORM(IOS_FAMILY)
-static const Seconds swipeSnapshotRemovalWatchdogDuration = 5_s;
-#else
 static const Seconds swipeSnapshotRemovalWatchdogDuration = 3_s;
-#endif
 
 #if !PLATFORM(IOS_FAMILY)
 static const float minimumHorizontalSwipeDistance = 15;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to