Title: [188446] trunk/Source/WebKit2
Revision
188446
Author
[email protected]
Date
2015-08-14 01:45:07 -0700 (Fri, 14 Aug 2015)

Log Message

Unreviewed. Fix GTK+ build after r188386.

* UIProcess/API/gtk/WebKitWindowProperties.cpp:
(webkitWindowPropertiesUpdateFromWebWindowFeatures):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (188445 => 188446)


--- trunk/Source/WebKit2/ChangeLog	2015-08-14 07:30:39 UTC (rev 188445)
+++ trunk/Source/WebKit2/ChangeLog	2015-08-14 08:45:07 UTC (rev 188446)
@@ -1,3 +1,10 @@
+2015-08-14  Carlos Garcia Campos  <[email protected]>
+
+        Unreviewed. Fix GTK+ build after r188386.
+
+        * UIProcess/API/gtk/WebKitWindowProperties.cpp:
+        (webkitWindowPropertiesUpdateFromWebWindowFeatures):
+
 2015-08-13  Tim Horton  <[email protected]>
 
         Performing a Lookup on wrapped text puts the popover arrow in the wrong place (off to the right)

Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWindowProperties.cpp (188445 => 188446)


--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWindowProperties.cpp	2015-08-14 07:30:39 UTC (rev 188445)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWindowProperties.cpp	2015-08-14 08:45:07 UTC (rev 188446)
@@ -378,14 +378,14 @@
 void webkitWindowPropertiesUpdateFromWebWindowFeatures(WebKitWindowProperties* windowProperties, const WindowFeatures& windowFeatures)
 {
     GdkRectangle geometry = windowProperties->priv->geometry;
-    if (windowFeatures.xSet)
-        geometry.x = windowFeatures.x;
-    if (windowFeatures.ySet)
-        geometry.y = windowFeatures.y;
-    if (windowFeatures.widthSet)
-        geometry.width = windowFeatures.width;
-    if (windowFeatures.heightSet)
-        geometry.height = windowFeatures.height;
+    if (windowFeatures.x)
+        geometry.x = *windowFeatures.x;
+    if (windowFeatures.y)
+        geometry.y = *windowFeatures.y;
+    if (windowFeatures.width)
+        geometry.width = *windowFeatures.width;
+    if (windowFeatures.height)
+        geometry.height = *windowFeatures.height;
     webkitWindowPropertiesSetGeometry(windowProperties, &geometry);
 
     webkitWindowPropertiesSetMenubarVisible(windowProperties, windowFeatures.menuBarVisible);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to