Title: [176339] trunk/Source/WebKit2
Revision
176339
Author
simon.fra...@apple.com
Date
2014-11-19 14:05:03 -0800 (Wed, 19 Nov 2014)

Log Message

[WK2 UI-side compositing] Initialize RemoteLayerTreeTransaction properties which are unset on Mac
https://bugs.webkit.org/show_bug.cgi?id=138877

Reviewed by Tim Horton.

These data members are unused on Mac, but still encoded, so initialize them with
reasonable values.

* Shared/mac/RemoteLayerTreeTransaction.mm:
(WebKit::RemoteLayerTreeTransaction::RemoteLayerTreeTransaction):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (176338 => 176339)


--- trunk/Source/WebKit2/ChangeLog	2014-11-19 22:03:35 UTC (rev 176338)
+++ trunk/Source/WebKit2/ChangeLog	2014-11-19 22:05:03 UTC (rev 176339)
@@ -1,3 +1,16 @@
+2014-11-19  Simon Fraser  <simon.fra...@apple.com>
+
+        [WK2 UI-side compositing] Initialize RemoteLayerTreeTransaction properties which are unset on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=138877
+
+        Reviewed by Tim Horton.
+        
+        These data members are unused on Mac, but still encoded, so initialize them with
+        reasonable values.
+
+        * Shared/mac/RemoteLayerTreeTransaction.mm:
+        (WebKit::RemoteLayerTreeTransaction::RemoteLayerTreeTransaction):
+
 2014-11-19  Enrica Casucci  <enr...@apple.com>
 
         Refactor iOS selection gestures.

Modified: trunk/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.mm (176338 => 176339)


--- trunk/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.mm	2014-11-19 22:03:35 UTC (rev 176338)
+++ trunk/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.mm	2014-11-19 22:05:03 UTC (rev 176339)
@@ -463,6 +463,13 @@
 }
 
 RemoteLayerTreeTransaction::RemoteLayerTreeTransaction()
+    : m_pageScaleFactor(1)
+    , m_minimumScaleFactor(1)
+    , m_maximumScaleFactor(1)
+    , m_renderTreeSize(0)
+    , m_transactionID(0)
+    , m_scaleWasSetByUIProcess(false)
+    , m_allowsUserScaling(false)
 {
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to