Title: [289848] trunk/Source/WebKit
Revision
289848
Author
[email protected]
Date
2022-02-15 13:43:09 -0800 (Tue, 15 Feb 2022)

Log Message

[WinCairo][WK2] animations/background-position.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=236630

Reviewed by Don Olmstead.

WKPageForceRepaint didn't call back if the page had active
animations.

* WebProcess/WebPage/wc/DrawingAreaWC.cpp:
(WebKit::DrawingAreaWC::didUpdate): Call
m_forceRepaintCompletionHandler even if
m_hasDeferredRenderingUpdate is true.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (289847 => 289848)


--- trunk/Source/WebKit/ChangeLog	2022-02-15 21:25:16 UTC (rev 289847)
+++ trunk/Source/WebKit/ChangeLog	2022-02-15 21:43:09 UTC (rev 289848)
@@ -1,3 +1,18 @@
+2022-02-15  Fujii Hironori  <[email protected]>
+
+        [WinCairo][WK2] animations/background-position.html is timing out
+        https://bugs.webkit.org/show_bug.cgi?id=236630
+
+        Reviewed by Don Olmstead.
+
+        WKPageForceRepaint didn't call back if the page had active
+        animations.
+
+        * WebProcess/WebPage/wc/DrawingAreaWC.cpp:
+        (WebKit::DrawingAreaWC::didUpdate): Call
+        m_forceRepaintCompletionHandler even if
+        m_hasDeferredRenderingUpdate is true.
+
 2022-02-15  Megan Gardner  <[email protected]>
 
         Implement additional Reveeal methods.

Modified: trunk/Source/WebKit/WebProcess/WebPage/wc/DrawingAreaWC.cpp (289847 => 289848)


--- trunk/Source/WebKit/WebProcess/WebPage/wc/DrawingAreaWC.cpp	2022-02-15 21:25:16 UTC (rev 289847)
+++ trunk/Source/WebKit/WebProcess/WebPage/wc/DrawingAreaWC.cpp	2022-02-15 21:43:09 UTC (rev 289848)
@@ -361,11 +361,12 @@
 void DrawingAreaWC::didUpdate()
 {
     m_waitDidUpdate = false;
+    if (m_forceRepaintCompletionHandler)
+        m_forceRepaintCompletionHandler();
     if (m_hasDeferredRenderingUpdate) {
         m_hasDeferredRenderingUpdate = false;
         triggerRenderingUpdate();
-    } else if (m_forceRepaintCompletionHandler)
-        m_forceRepaintCompletionHandler();
+    }
 }
 
 } // namespace WebKit
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to