| Index: third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp
|
| diff --git a/third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp b/third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp
|
| index 88a65026da54ed47d54371c8f79176708f583de0..b399325bc770bec9d9a967902f6744339a10bfe9 100644
|
| --- a/third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp
|
| +++ b/third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp
|
| @@ -73,9 +73,9 @@ GeolocationController::~GeolocationController()
|
| #endif
|
| }
|
|
|
| -PassOwnPtrWillBeRawPtr<GeolocationController> GeolocationController::create(LocalFrame& frame, GeolocationClient* client)
|
| +RawPtr<GeolocationController> GeolocationController::create(LocalFrame& frame, GeolocationClient* client)
|
| {
|
| - return adoptPtrWillBeNoop(new GeolocationController(frame, client));
|
| + return new GeolocationController(frame, client);
|
| }
|
|
|
| void GeolocationController::addObserver(Geolocation* observer, bool enableHighAccuracy)
|
| @@ -187,13 +187,13 @@ DEFINE_TRACE(GeolocationController)
|
| visitor->trace(m_lastPosition);
|
| visitor->trace(m_observers);
|
| visitor->trace(m_highAccuracyObservers);
|
| - WillBeHeapSupplement<LocalFrame>::trace(visitor);
|
| + HeapSupplement<LocalFrame>::trace(visitor);
|
| PageLifecycleObserver::trace(visitor);
|
| }
|
|
|
| void provideGeolocationTo(LocalFrame& frame, GeolocationClient* client)
|
| {
|
| - WillBeHeapSupplement<LocalFrame>::provideTo(frame, GeolocationController::supplementName(), GeolocationController::create(frame, client));
|
| + HeapSupplement<LocalFrame>::provideTo(frame, GeolocationController::supplementName(), GeolocationController::create(frame, client));
|
| }
|
|
|
| } // namespace blink
|
|
|