Index: public/platform/WebGeofencingProvider.h |
diff --git a/public/platform/WebGeofencingProvider.h b/public/platform/WebGeofencingProvider.h |
index 79ed9e12556b4c0381e73a6a889c079056001193..2b213df96db0de3a1813f48d7b7008c39802c297 100644 |
--- a/public/platform/WebGeofencingProvider.h |
+++ b/public/platform/WebGeofencingProvider.h |
@@ -6,6 +6,7 @@ |
#define WebGeofencingProvider_h |
#include "public/platform/WebCallbacks.h" |
+#include "public/platform/WebPassOwnPtr.h" |
#include "public/platform/WebVector.h" |
namespace blink { |
@@ -16,8 +17,8 @@ struct WebGeofencingRegistration; |
class WebServiceWorkerRegistration; |
class WebString; |
-typedef WebCallbacks<void, WebGeofencingError*> WebGeofencingCallbacks; |
-typedef WebCallbacks<WebVector<WebGeofencingRegistration>*, WebGeofencingError*> WebGeofencingRegionsCallbacks; |
+using WebGeofencingCallbacks = WebCallbacks<void, WebPassOwnPtr<WebGeofencingError>>; |
+using WebGeofencingRegionsCallbacks = WebCallbacks<WebPassOwnPtr<WebVector<WebGeofencingRegistration>>, WebPassOwnPtr<WebGeofencingError>>; |
class WebGeofencingProvider { |
public: |