Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Unified Diff: third_party/WebKit/Source/modules/geolocation/Geolocation.cpp

Issue 1919153002: Tidy up WebGeolocationController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: still support implicit conversion Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
diff --git a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
index 229f23474a50be76165d78b8c153fd4635712509..036b29e820c6a6426612f9dea719ddb00a1122c2 100644
--- a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
+++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
@@ -138,7 +138,7 @@ Geoposition* Geolocation::lastPosition()
m_lastPosition = createGeoposition(GeolocationController::from(frame)->lastPosition());
- return m_lastPosition.get();
+ return m_lastPosition;
}
void Geolocation::recordOriginTypeAccess() const

Powered by Google App Engine
This is Rietveld 408576698