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 e2c12fd6c9b548e962ae1ed152833c5dd9da27a1..45fe62a5bddb9fa80b1afc5949eb1b88bcec83b2 100644 |
--- a/third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp |
+++ b/third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp |
@@ -140,8 +140,8 @@ void GeolocationController::errorOccurred(GeolocationError* error) |
GeolocationPosition* GeolocationController::lastPosition() |
{ |
- if (m_lastPosition.get()) |
- return m_lastPosition.get(); |
+ if (m_lastPosition) |
+ return m_lastPosition; |
if (!m_client) |
return 0; |