From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/Modules/geolocation/Geolocation.idl | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'Source/WebCore/Modules/geolocation/Geolocation.idl') diff --git a/Source/WebCore/Modules/geolocation/Geolocation.idl b/Source/WebCore/Modules/geolocation/Geolocation.idl index e3ac9ea68..489af42ea 100644 --- a/Source/WebCore/Modules/geolocation/Geolocation.idl +++ b/Source/WebCore/Modules/geolocation/Geolocation.idl @@ -29,14 +29,16 @@ Conditional=GEOLOCATION, GenerateIsReachable=ImplFrame, ] interface Geolocation { - [Custom] void getCurrentPosition(PositionCallback successCallback, - optional PositionErrorCallback errorCallback, - optional PositionOptions options); + // FIXME: PositionErrorCallback should not be nullable + void getCurrentPosition(PositionCallback successCallback, + optional PositionErrorCallback? errorCallback, + optional PositionOptions options); - [Custom] long watchPosition(PositionCallback successCallback, - optional PositionErrorCallback errorCallback, - optional PositionOptions options); + // FIXME: PositionErrorCallback should not be nullable + long watchPosition(PositionCallback successCallback, + optional PositionErrorCallback? errorCallback, + optional PositionOptions options); - void clearWatch(long watchID); + void clearWatch(long watchId); }; -- cgit v1.2.1