Index: Source/modules/geofencing/GeofencingError.h |
diff --git a/Source/modules/geofencing/GeofencingError.h b/Source/modules/geofencing/GeofencingError.h |
index d64aa02fbb019747e143a05630ed101e2c194c25..969c8fe94ed0bc10650b823ec0ec46b2e5ad33de 100644 |
--- a/Source/modules/geofencing/GeofencingError.h |
+++ b/Source/modules/geofencing/GeofencingError.h |
@@ -19,8 +19,8 @@ class GeofencingError { |
WTF_MAKE_NONCOPYABLE(GeofencingError); |
public: |
// For CallbackPromiseAdapter. |
- using WebType = OwnPtr<WebGeofencingError>; |
- static DOMException* take(ScriptPromiseResolver*, PassOwnPtr<WebGeofencingError> webError); |
+ using WebType = const WebGeofencingError&; |
+ static DOMException* take(ScriptPromiseResolver*, const WebGeofencingError& webError); |
private: |
GeofencingError() = delete; |