Title: [171260] trunk/Source/WebKit2
Revision
171260
Author
[email protected]
Date
2014-07-19 03:02:06 -0700 (Sat, 19 Jul 2014)

Log Message

Consistently use uint64_t as the handle parameter type for the SetAcceleratedCompositingWindowId message
https://bugs.webkit.org/show_bug.cgi?id=135047

Reviewed by Darin Adler.

UIProcess' WebPageProxy is handling this parameter as an uint64_t, it should be handled as such
in WebProcess as well.

* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in: Also changed the parameter name to match other places.
* WebProcess/WebPage/gtk/WebPageGtk.cpp:
(WebKit::WebPage::setAcceleratedCompositingWindowId):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (171259 => 171260)


--- trunk/Source/WebKit2/ChangeLog	2014-07-19 05:25:48 UTC (rev 171259)
+++ trunk/Source/WebKit2/ChangeLog	2014-07-19 10:02:06 UTC (rev 171260)
@@ -1,3 +1,18 @@
+2014-07-19  Zan Dobersek  <[email protected]>
+
+        Consistently use uint64_t as the handle parameter type for the SetAcceleratedCompositingWindowId message
+        https://bugs.webkit.org/show_bug.cgi?id=135047
+
+        Reviewed by Darin Adler.
+
+        UIProcess' WebPageProxy is handling this parameter as an uint64_t, it should be handled as such
+        in WebProcess as well.
+
+        * WebProcess/WebPage/WebPage.h:
+        * WebProcess/WebPage/WebPage.messages.in: Also changed the parameter name to match other places.
+        * WebProcess/WebPage/gtk/WebPageGtk.cpp:
+        (WebKit::WebPage::setAcceleratedCompositingWindowId):
+
 2014-07-18  Oliver Hunt  <[email protected]>
 
         We don't provide an extension to the temp file used for uploads

Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h (171259 => 171260)


--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h	2014-07-19 05:25:48 UTC (rev 171259)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h	2014-07-19 10:02:06 UTC (rev 171260)
@@ -631,7 +631,7 @@
     void cancelComposition();
 #elif PLATFORM(GTK)
 #if USE(TEXTURE_MAPPER_GL)
-    void setAcceleratedCompositingWindowId(int64_t nativeWindowHandle);
+    void setAcceleratedCompositingWindowId(uint64_t nativeWindowHandle);
 #endif
 #endif
 

Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in (171259 => 171260)


--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in	2014-07-19 05:25:48 UTC (rev 171259)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in	2014-07-19 10:02:06 UTC (rev 171260)
@@ -373,7 +373,7 @@
 #endif
 
 #if PLATFORM(GTK) && USE(TEXTURE_MAPPER_GL)
-    SetAcceleratedCompositingWindowId(int64_t id)
+    SetAcceleratedCompositingWindowId(uint64_t nativeWindowHandle)
 #endif
   
     SetScrollPinningBehavior(uint32_t pinning)

Modified: trunk/Source/WebKit2/WebProcess/WebPage/gtk/WebPageGtk.cpp (171259 => 171260)


--- trunk/Source/WebKit2/WebProcess/WebPage/gtk/WebPageGtk.cpp	2014-07-19 05:25:48 UTC (rev 171259)
+++ trunk/Source/WebKit2/WebProcess/WebPage/gtk/WebPageGtk.cpp	2014-07-19 10:02:06 UTC (rev 171260)
@@ -163,7 +163,7 @@
 }
 
 #if USE(TEXTURE_MAPPER_GL)
-void WebPage::setAcceleratedCompositingWindowId(int64_t nativeWindowHandle)
+void WebPage::setAcceleratedCompositingWindowId(uint64_t nativeWindowHandle)
 {
     m_nativeWindowHandle = nativeWindowHandle;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to