| Index: Source/modules/geolocation/GeolocationInspectorAgent.cpp
|
| diff --git a/Source/modules/geolocation/GeolocationInspectorAgent.cpp b/Source/modules/geolocation/GeolocationInspectorAgent.cpp
|
| index 049d821e010ad720106164fe36c24b45079e4892..be33a196335355e585fffe6460343c7a32cadd8c 100644
|
| --- a/Source/modules/geolocation/GeolocationInspectorAgent.cpp
|
| +++ b/Source/modules/geolocation/GeolocationInspectorAgent.cpp
|
| @@ -35,9 +35,9 @@
|
|
|
| namespace WebCore {
|
|
|
| -PassOwnPtr<GeolocationInspectorAgent> GeolocationInspectorAgent::create()
|
| +PassOwnPtrWillBeRawPtr<GeolocationInspectorAgent> GeolocationInspectorAgent::create()
|
| {
|
| - return adoptPtr(new GeolocationInspectorAgent());
|
| + return adoptPtrWillBeNoop(new GeolocationInspectorAgent());
|
| }
|
|
|
| GeolocationInspectorAgent::~GeolocationInspectorAgent()
|
| @@ -89,14 +89,22 @@ GeolocationPosition* GeolocationInspectorAgent::overrideGeolocationPosition(Geol
|
| return position;
|
| }
|
|
|
| -void GeolocationInspectorAgent::AddController(GeolocationController* controller)
|
| +void GeolocationInspectorAgent::addController(GeolocationController* controller)
|
| {
|
| m_controllers.add(controller);
|
| }
|
|
|
| -void GeolocationInspectorAgent::RemoveController(GeolocationController* controller)
|
| +void GeolocationInspectorAgent::removeController(GeolocationController* controller)
|
| {
|
| m_controllers.remove(controller);
|
| }
|
|
|
| +void GeolocationInspectorAgent::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_controllers);
|
| + visitor->trace(m_geolocationPosition);
|
| + visitor->trace(m_platformGeolocationPosition);
|
| + InspectorBaseAgent::trace(visitor);
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|