Title: [261463] trunk/Source/WebKitLegacy/win
Revision
261463
Author
[email protected]
Date
2020-05-10 19:08:36 -0700 (Sun, 10 May 2020)

Log Message

[WinCairo][WK1] requestAnimationFrame doesn't work since r261113
https://bugs.webkit.org/show_bug.cgi?id=211702

Reviewed by Darin Adler.

Since r261113 (Bug 204713), WinCairo WK1 is failing some rAF tests
even though AppleWin isn't.

WinCairo also should do m_page->updateRendering() in
WebView::flushPendingGraphicsLayerChangesSoon as well as AppleWin.

* WebView.cpp:
(WebView::flushPendingGraphicsLayerChangesSoon): Call
updateRendering.

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/win/ChangeLog (261462 => 261463)


--- trunk/Source/WebKitLegacy/win/ChangeLog	2020-05-10 23:56:21 UTC (rev 261462)
+++ trunk/Source/WebKitLegacy/win/ChangeLog	2020-05-11 02:08:36 UTC (rev 261463)
@@ -1,3 +1,20 @@
+2020-05-10  Fujii Hironori  <[email protected]>
+
+        [WinCairo][WK1] requestAnimationFrame doesn't work since r261113
+        https://bugs.webkit.org/show_bug.cgi?id=211702
+
+        Reviewed by Darin Adler.
+
+        Since r261113 (Bug 204713), WinCairo WK1 is failing some rAF tests
+        even though AppleWin isn't.
+
+        WinCairo also should do m_page->updateRendering() in
+        WebView::flushPendingGraphicsLayerChangesSoon as well as AppleWin.
+
+        * WebView.cpp:
+        (WebView::flushPendingGraphicsLayerChangesSoon): Call
+        updateRendering.
+
 2020-04-27  Antoine Quint  <[email protected]>
 
         Rename CSSAnimationController accessors from animation() to legacyAnimation()

Modified: trunk/Source/WebKitLegacy/win/WebView.cpp (261462 => 261463)


--- trunk/Source/WebKitLegacy/win/WebView.cpp	2020-05-10 23:56:21 UTC (rev 261462)
+++ trunk/Source/WebKitLegacy/win/WebView.cpp	2020-05-11 02:08:36 UTC (rev 261463)
@@ -7242,8 +7242,10 @@
     }
     m_layerTreeHost->flushPendingGraphicsLayerChangesSoon();
 #elif USE(TEXTURE_MAPPER_GL)
-    if (!m_acceleratedCompositingContext)
+    if (!m_acceleratedCompositingContext) {
+        m_page->updateRendering();
         return;
+    }
     m_acceleratedCompositingContext->flushPendingLayerChangesSoon();
 #endif
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to