Title: [219069] trunk/Source/WebKit2
Revision
219069
Author
[email protected]
Date
2017-07-03 03:58:41 -0700 (Mon, 03 Jul 2017)

Log Message

Unreviewed GTK+ and WPE build fix when building with GCC 4.9.

* WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
(WebKit::CoordinatedLayerTreeHost::renderNextFrame): Don't use brace-list
initialization to override the m_forceRepaintAsync struct. Instead, manually
assign the OptionalCallbackID() value to the m_forceRepaintAsync.callbackID
member variable, and override the m_forceRepaintAsync.needsFreshFlush member
variable with `false`.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (219068 => 219069)


--- trunk/Source/WebKit2/ChangeLog	2017-07-03 10:11:20 UTC (rev 219068)
+++ trunk/Source/WebKit2/ChangeLog	2017-07-03 10:58:41 UTC (rev 219069)
@@ -1,5 +1,16 @@
 2017-07-03  Zan Dobersek  <[email protected]>
 
+        Unreviewed GTK+ and WPE build fix when building with GCC 4.9.
+
+        * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+        (WebKit::CoordinatedLayerTreeHost::renderNextFrame): Don't use brace-list
+        initialization to override the m_forceRepaintAsync struct. Instead, manually
+        assign the OptionalCallbackID() value to the m_forceRepaintAsync.callbackID
+        member variable, and override the m_forceRepaintAsync.needsFreshFlush member
+        variable with `false`.
+
+2017-07-03  Zan Dobersek  <[email protected]>
+
         [ThreadedCompositor] Update and retrieve scene attributes under a Lock
         https://bugs.webkit.org/show_bug.cgi?id=173762
 

Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp (219068 => 219069)


--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp	2017-07-03 10:11:20 UTC (rev 219068)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp	2017-07-03 10:58:41 UTC (rev 219069)
@@ -168,9 +168,9 @@
         // is called after the next update.
         if (!m_forceRepaintAsync.needsFreshFlush) {
             m_webPage.send(Messages::WebPageProxy::VoidCallback(m_forceRepaintAsync.callbackID.callbackID()));
-            m_forceRepaintAsync = { OptionalCallbackID() , false };
-        } else
-            m_forceRepaintAsync.needsFreshFlush = false;
+            m_forceRepaintAsync.callbackID = OptionalCallbackID();
+        }
+        m_forceRepaintAsync.needsFreshFlush = false;
     }
 
     if (scheduledWhileWaitingForRenderer || m_layerFlushTimer.isActive()) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to