Build fix.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Dec 2013 06:20:39 +0000 (06:20 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Dec 2013 06:20:39 +0000 (06:20 +0000)
* UIProcess/API/ios/WKGeolocationProviderIOS.mm:
(-[WKGeolocationProviderIOS initWithContext:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159993 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/ios/WKGeolocationProviderIOS.mm

index 9c6ef98..42304be 100644 (file)
@@ -1,3 +1,10 @@
+2013-12-02  Dan Bernstein  <mitz@apple.com>
+
+        Build fix.
+
+        * UIProcess/API/ios/WKGeolocationProviderIOS.mm:
+        (-[WKGeolocationProviderIOS initWithContext:]):
+
 2013-12-02  Martin Hock  <mhock@apple.com>
 
         Add ability to iterate over API::Array
index 7415731..a106267 100644 (file)
@@ -155,7 +155,7 @@ struct GeolocationRequestData {
         stopUpdatingCallback,
         setEnableHighAccuracy
     };
-    _geolocationManager->initializeProvider(&providerCallback);
+    _geolocationManager->initializeProvider(reinterpret_cast<WKGeolocationProviderBase*>(&providerCallback));
     _coreLocationProvider = adoptNS([[WebGeolocationCoreLocationProvider alloc] initWithListener:self]);
     return self;
 }