| Index: Source/modules/geofencing/Geofencing.cpp
|
| diff --git a/Source/modules/geofencing/Geofencing.cpp b/Source/modules/geofencing/Geofencing.cpp
|
| index 550f05205312aeeb3a3d389e643db99c62560618..c7bee130e3f1ee64f3d12c02f79da2208ccf82ce 100644
|
| --- a/Source/modules/geofencing/Geofencing.cpp
|
| +++ b/Source/modules/geofencing/Geofencing.cpp
|
| @@ -18,6 +18,7 @@
|
| #include "public/platform/WebCircularGeofencingRegion.h"
|
| #include "public/platform/WebGeofencingProvider.h"
|
| #include "public/platform/WebGeofencingRegistration.h"
|
| +#include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
|
|
| namespace blink {
|
| @@ -27,8 +28,8 @@ namespace {
|
| // For CallbackPromiseAdapter to convert a WebVector of regions to a HeapVector.
|
| class RegionArray {
|
| public:
|
| - typedef WebVector<WebGeofencingRegistration> WebType;
|
| - static HeapVector<Member<GeofencingRegion>> take(ScriptPromiseResolver* resolver, PassOwnPtr<WebType> webRegions)
|
| + using WebType = OwnPtr<WebVector<WebGeofencingRegistration>>;
|
| + static HeapVector<Member<GeofencingRegion>> take(ScriptPromiseResolver* resolver, PassOwnPtr<WebVector<WebGeofencingRegistration>> webRegions)
|
| {
|
| HeapVector<Member<GeofencingRegion>> regions;
|
| for (size_t i = 0; i < webRegions->size(); ++i)
|
|
|