Title: [107989] trunk/Source/WebKit/gtk
Revision
107989
Author
aba...@webkit.org
Date
2012-02-16 15:59:27 -0800 (Thu, 16 Feb 2012)

Log Message

Attempt to fix the GTK build.

* WebCoreSupport/GeolocationClientGtk.cpp:
(WebKit::GeolocationClient::requestPermission):
(WebKit::GeolocationClient::cancelPermissionRequest):

Modified Paths

Diff

Modified: trunk/Source/WebKit/gtk/ChangeLog (107988 => 107989)


--- trunk/Source/WebKit/gtk/ChangeLog	2012-02-16 23:51:00 UTC (rev 107988)
+++ trunk/Source/WebKit/gtk/ChangeLog	2012-02-16 23:59:27 UTC (rev 107989)
@@ -1,3 +1,11 @@
+2012-02-16  Adam Barth  <aba...@webkit.org>
+
+        Attempt to fix the GTK build.
+
+        * WebCoreSupport/GeolocationClientGtk.cpp:
+        (WebKit::GeolocationClient::requestPermission):
+        (WebKit::GeolocationClient::cancelPermissionRequest):
+
 2012-02-16  Sergio Villar Senin  <svil...@igalia.com>
 
         [soup] Move important SoupSession feature initialization to WebCore

Modified: trunk/Source/WebKit/gtk/WebCoreSupport/GeolocationClientGtk.cpp (107988 => 107989)


--- trunk/Source/WebKit/gtk/WebCoreSupport/GeolocationClientGtk.cpp	2012-02-16 23:51:00 UTC (rev 107988)
+++ trunk/Source/WebKit/gtk/WebCoreSupport/GeolocationClientGtk.cpp	2012-02-16 23:59:27 UTC (rev 107989)
@@ -24,6 +24,7 @@
 #if ENABLE(CLIENT_BASED_GEOLOCATION)
 
 #include "Chrome.h"
+#include "ChromeClient.h"
 #include "Geolocation.h"
 #include "GeolocationController.h"
 #include "GeolocationError.h"
@@ -137,12 +138,12 @@
 
 void GeolocationClient::requestPermission(WebCore::Geolocation* geolocation)
 {
-    core(m_webView)->chrome()->requestGeolocationPermissionForFrame(geolocation->frame(), geolocation);
+    core(m_webView)->chrome()->client()->requestGeolocationPermissionForFrame(geolocation->frame(), geolocation);
 }
 
 void GeolocationClient::cancelPermissionRequest(WebCore::Geolocation* geolocation)
 {
-    core(m_webView)->chrome()->cancelGeolocationPermissionRequestForFrame(geolocation->frame(), geolocation);
+    core(m_webView)->chrome()->client()->cancelGeolocationPermissionRequestForFrame(geolocation->frame(), geolocation);
 }
 
 void GeolocationClient::positionChanged(GeocluePosition*, GeocluePositionFields fields, int timestamp, double latitude, double longitude, double altitude, GeoclueAccuracy* accuracy)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to